From fc26ba30c3011f462f623b594489049c1846d279 Mon Sep 17 00:00:00 2001 From: Marc Dionne Date: Sat, 29 Jan 2011 11:14:50 -0500 Subject: [PATCH] ubik: make uphys_close static This function is not used outside of phys.c, so make it private. Change-Id: Ie84864cd8a2c0f423af604e45cd406acecf05957 Reviewed-on: http://gerrit.openafs.org/4143 Tested-by: BuildBot Reviewed-by: Derrick Brashear Reviewed-by: Jeffrey Altman --- src/ubik/phys.c | 2 +- src/ubik/ubik.p.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ubik/phys.c b/src/ubik/phys.c index 3e21b0fdf9..5ef33bee02 100644 --- a/src/ubik/phys.c +++ b/src/ubik/phys.c @@ -133,7 +133,7 @@ uphys_open(struct ubik_dbase *adbase, afs_int32 afid) /*! * \brief Close the file, maintaining ref count in cache structure. */ -int +static int uphys_close(int afd) { int i; diff --git a/src/ubik/ubik.p.h b/src/ubik/ubik.p.h index 3eafd72c94..bafe9f1415 100644 --- a/src/ubik/ubik.p.h +++ b/src/ubik/ubik.p.h @@ -337,7 +337,6 @@ extern int ubikPrimaryAddrOnly; /* use only primary address */ /* this extern gives the sync site's db version, with epoch of 0 if none yet */ /* phys.c */ -extern int uphys_close(int afd); extern int uphys_stat(struct ubik_dbase *adbase, afs_int32 afid, struct ubik_stat *astat); extern int uphys_read(struct ubik_dbase *adbase, afs_int32 afile,