Making the db_actual_store() function static. Thanks MM for the suggestion.
authorZdeněk Šustr <sustr4@cesnet.cz>
Mon, 30 Oct 2006 12:47:53 +0000 (12:47 +0000)
committerZdeněk Šustr <sustr4@cesnet.cz>
Mon, 30 Oct 2006 12:47:53 +0000 (12:47 +0000)
org.glite.lb.server/interface/store.h
org.glite.lb.server/src/db_store.c

index 0fefec8..1a66bf0 100644 (file)
@@ -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 **);
 
index 9b486db..4bcc190 100644 (file)
@@ -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 ) {
        /*