Move FreeBlock prototype to vlserver_internal.h
authorAndrew Deason <adeason@sinenomine.net>
Fri, 21 May 2010 16:19:53 +0000 (11:19 -0500)
committerDerrick Brashear <shadow@dementia.org>
Wed, 9 Jun 2010 19:34:34 +0000 (12:34 -0700)
FreeBlock is only used in internal vlserver code and should not be
called by anything else; it should not be prototyped in a public
header. Move its prototype to go along with the other vlserver
internal prototypes.

Change-Id: Id66f046c76a9d4c454bbd6fd6e65c75dbeccf68e
Reviewed-on: http://gerrit.openafs.org/2101
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>

src/vlserver/vlserver.p.h
src/vlserver/vlserver_internal.h

index d892bac..d2b0367 100644 (file)
@@ -128,7 +128,4 @@ struct extentaddr {
 
 #define VLog(level, str)   ViceLog(5, str)
 
-struct ubik_trans;
-extern int FreeBlock(struct ubik_trans *trans, afs_int32 blockindex);
-
 #endif /* _VLSERVER_ */
index f6281d2..46311f3 100644 (file)
@@ -51,4 +51,5 @@ extern int UnhashVolname(struct ubik_trans *trans, afs_int32 blockindex,
                         struct nvlentry *aentry);
 extern afs_int32 NextEntry(struct ubik_trans *trans, afs_int32 blockindex,
                           struct nvlentry *tentry, afs_int32 *remaining);
+extern int FreeBlock(struct ubik_trans *trans, afs_int32 blockindex);
 #endif