From 5d2e4a89595f918ec20d680c85ff12394994cf93 Mon Sep 17 00:00:00 2001 From: erickson Date: Sun, 18 May 2008 13:27:36 +0000 Subject: [PATCH] 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 --- include/opensrf/osrf_app_session.h | 2 -- src/libopensrf/osrf_app_session.c | 4 ---- 2 files changed, 6 deletions(-) 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"); -- 2.43.2