]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
declare-ubik-client-20060810
authorJim Rees <rees@umich.edu>
Thu, 10 Aug 2006 21:50:40 +0000 (21:50 +0000)
committerJim Rees <rees@umich.edu>
Thu, 10 Aug 2006 21:50:40 +0000 (21:50 +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.

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");