]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
DEVEL15-declare-ubik-client-20060810
authorJim Rees <rees@umich.edu>
Thu, 24 Aug 2006 16:55:20 +0000 (16:55 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 24 Aug 2006 16:55:20 +0000 (16:55 +0000)
Declare ubik_client in rpcgen.
I don't like this fix but I hope it's just temporary until someone fixes
the include dependencies.

(cherry picked from commit d9de7beb995a1158e5701d397467e028ff55fe77)

src/rxgen/rpc_main.c

index 38d9b3ebd42c2e523c3ad3c071e780d9fc67f987..483f17fd99d16d14d94d38426f8be7646db362e3 100644 (file)
@@ -478,6 +478,7 @@ h_output(char *infile, char *define, int extend, char *outfile, int append)
     f_print(fout, "#ifndef     SOCK_DGRAM  /* XXXXX */\n");
     f_print(fout, "#include \"h/socket.h\"\n");
     f_print(fout, "#endif\n");
+    f_print(fout, "struct ubik_client;\n");
     f_print(fout, "#ifndef     DTYPE_SOCKET  /* XXXXX */\n");
     f_print(fout, "#ifndef AFS_LINUX22_ENV\n");
     f_print(fout, "#include \"h/file.h\"\n");