From 14dbe49786f2547b66a6ad38bdae0db9d1648c49 Mon Sep 17 00:00:00 2001 From: Michael Meffie Date: Mon, 30 Nov 2009 19:28:13 -0500 Subject: [PATCH] shutdown_icl return type void Change the shutdown_icl return type to void to match the 1.4.x branch. Change-Id: I641abbd0f87d648c3c9de3cab4d0dd926a51eb89 Reviewed-on: http://gerrit.openafs.org/879 Tested-by: Marc Dionne Reviewed-by: Marc Dionne Reviewed-by: Russ Allbery --- src/afs/afs_icl.c | 3 +-- src/afs/afs_prototypes.h | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/afs/afs_icl.c b/src/afs/afs_icl.c index 0bfc3a3bb..3358bacb2 100644 --- a/src/afs/afs_icl.c +++ b/src/afs/afs_icl.c @@ -58,7 +58,7 @@ afs_icl_Init(void) } /* Function called at shutdown - zap everything */ -int +void shutdown_icl(void) { struct afs_icl_log *logp; @@ -82,7 +82,6 @@ shutdown_icl(void) afs_icl_LogFree(logp); afs_icl_LogFree(logp); } - return 0; } int diff --git a/src/afs/afs_prototypes.h b/src/afs/afs_prototypes.h index 327e2e906..25916069b 100644 --- a/src/afs/afs_prototypes.h +++ b/src/afs/afs_prototypes.h @@ -338,7 +338,7 @@ extern int afs_UFSCacheStoreProc(struct rx_call *, struct osi_file *, /* afs_icl.c */ extern struct afs_icl_set *afs_icl_allSets; extern int afs_icl_InitLogs(void); -extern int shutdown_icl(void); +extern void shutdown_icl(void); extern int afs_icl_CreateLog(char *name, afs_int32 logSize, struct afs_icl_log **outLogpp); extern int afs_icl_CreateLogWithFlags(char *name, afs_int32 logSize, -- 2.39.5