[PVFS2-CVS] commit by pcarns in pvfs2/src/io/job: job-time-mgr.c job-time-mgr.h

CVS commit program cvs at parl.clemson.edu
Thu Jul 15 14:00:56 EDT 2004


Update of /projects/cvsroot/pvfs2/src/io/job
In directory parlweb:/tmp/cvs-serv799/src/io/job

Modified Files:
	job-time-mgr.c job-time-mgr.h 
Log Message:
change job_time_mgr_rem() function to return a void 


Index: job-time-mgr.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/io/job/job-time-mgr.c,v
diff -p -u -r1.8 -r1.9
--- job-time-mgr.c	12 Jul 2004 21:12:41 -0000	1.8
+++ job-time-mgr.c	15 Jul 2004 17:00:56 -0000	1.9
@@ -178,9 +178,9 @@ int job_time_mgr_add(struct job_desc* jd
  *
  * remove a job from the set that is being monitored for timeout
  *
- * returns 0 on success, -PVFS_error on failure
+ * no return value
  */
-int job_time_mgr_rem(struct job_desc* jd)
+void job_time_mgr_rem(struct job_desc* jd)
 {
     struct time_bucket* tmp_bucket = NULL;
 
@@ -190,7 +190,7 @@ int job_time_mgr_rem(struct job_desc* jd
     {
 	/* nothing to do, it is already removed */
         gen_mutex_unlock(&bucket_mutex);
-	return(0);
+	return;
     }
 
     qlist_del(&jd->job_time_link);
@@ -207,7 +207,7 @@ int job_time_mgr_rem(struct job_desc* jd
 
     gen_mutex_unlock(&bucket_mutex);
 
-    return(0);
+    return;
 }
 
 /* job_time_mgr_expire()

Index: job-time-mgr.h
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/io/job/job-time-mgr.h,v
diff -p -u -r1.1 -r1.2
--- job-time-mgr.h	26 Apr 2004 20:26:29 -0000	1.1
+++ job-time-mgr.h	15 Jul 2004 17:00:56 -0000	1.2
@@ -14,7 +14,7 @@
 int job_time_mgr_init(void);
 int job_time_mgr_finalize(void);
 int job_time_mgr_add(struct job_desc* jd, int timeout_sec);
-int job_time_mgr_rem(struct job_desc* jd);
+void job_time_mgr_rem(struct job_desc* jd);
 int job_time_mgr_expire(void);
 
 #endif /* __JOB_TIME_MGR_H */



More information about the PVFS2-CVS mailing list