]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-declare-ubik-client-20060810
authorJim Rees <rees@umich.edu>
Thu, 24 Aug 2006 16:56:44 +0000 (16:56 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 24 Aug 2006 16:56:44 +0000 (16:56 +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 75cf0a1230a13a1de637c50bff4be1ed10c6658f..92b197bae0f1a03d59b247522b0bba27226b7b26 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");