From: erickson Date: Sun, 18 May 2008 13:27:36 +0000 (+0000) Subject: Patch from Scott McKellar: X-Git-Tag: osrf_rel_2_0_1~641 X-Git-Url: https://git.evergreen-ils.org/?p=OpenSRF.git;a=commitdiff_plain;h=5d2e4a89595f918ec20d680c85ff12394994cf93;ds=sidebyside Patch from Scott McKellar: These patches eliminate two deprecated identifiers in favor of their camel case equivalents: osrf_app_client_session_init osrf_app_session All other instances of these identifiers have already been eliminated from the code base. git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1326 9efc2488-bf62-4759-914b-345cdb29e865 --- diff --git a/include/opensrf/osrf_app_session.h b/include/opensrf/osrf_app_session.h index 85beb96..4c535ba 100644 --- a/include/opensrf/osrf_app_session.h +++ b/include/opensrf/osrf_app_session.h @@ -84,7 +84,6 @@ struct osrf_app_session_struct { int transport_error; }; -typedef struct osrf_app_session_struct osrf_app_session; typedef struct osrf_app_session_struct osrfAppSession; @@ -95,7 +94,6 @@ typedef struct osrf_app_session_struct osrfAppSession; /** Allocates a initializes a new app_session */ osrfAppSession* osrfAppSessionClientInit( const char* remote_service ); -osrfAppSession* osrf_app_client_session_init( const char* remote_service ); /** Allocates and initializes a new server session. The global session cache * is checked to see if this session already exists, if so, it's returned diff --git a/src/libopensrf/osrf_app_session.c b/src/libopensrf/osrf_app_session.c index 99baaa4..0b274f7 100644 --- a/src/libopensrf/osrf_app_session.c +++ b/src/libopensrf/osrf_app_session.c @@ -218,10 +218,6 @@ static void _osrf_app_session_push_session( osrfAppSession* session ) { /** Allocates and initializes a new app_session */ osrfAppSession* osrfAppSessionClientInit( const char* remote_service ) { - return osrf_app_client_session_init( remote_service ); -} - -osrfAppSession* osrf_app_client_session_init( const char* remote_service ) { if (!remote_service) { osrfLogWarning( OSRF_LOG_MARK, "No remote service specified in osrf_app_client_session_init");