From: Zdeněk Šustr Date: Mon, 30 Oct 2006 12:47:53 +0000 (+0000) Subject: Making the db_actual_store() function static. Thanks MM for the suggestion. X-Git-Tag: merge_connpool_dst~12 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=f429c19605e1d4e7e19cc34cc5188f317170a2fd;p=jra1mw.git Making the db_actual_store() function static. Thanks MM for the suggestion. --- diff --git a/org.glite.lb.server/interface/store.h b/org.glite.lb.server/interface/store.h index 0fefec8..1a66bf0 100644 --- a/org.glite.lb.server/interface/store.h +++ b/org.glite.lb.server/interface/store.h @@ -42,7 +42,6 @@ edg_wll_ErrorCode edg_wll_StepIntStateEmbriotic( int db_store(edg_wll_Context,char *, char *); int db_parent_store(edg_wll_Context, edg_wll_Event *); -int db_actual_store(edg_wll_Context ctx, char *event, edg_wll_Event *ev, edg_wll_JobStat *newstat); int handle_request(edg_wll_Context,char *); int create_reply(const edg_wll_Context,char **); diff --git a/org.glite.lb.server/src/db_store.c b/org.glite.lb.server/src/db_store.c index 9b486db..4bcc190 100644 --- a/org.glite.lb.server/src/db_store.c +++ b/org.glite.lb.server/src/db_store.c @@ -27,6 +27,9 @@ extern int edg_wll_NotifMatch(edg_wll_Context, const edg_wll_JobStat *); +static int db_actual_store(edg_wll_Context ctx, char *event, edg_wll_Event *ev, edg_wll_JobStat *newstat); + + int db_store(edg_wll_Context ctx,char *ucs, char *event) { @@ -181,7 +184,7 @@ err: return edg_wll_Error(ctx,NULL,NULL); } -int db_actual_store(edg_wll_Context ctx, char *event, edg_wll_Event *ev, edg_wll_JobStat *newstat) { +static int db_actual_store(edg_wll_Context ctx, char *event, edg_wll_Event *ev, edg_wll_JobStat *newstat) { if ( ctx->isProxy ) { /*