fix-afsconfig-ordering-for-rx-20010816
authorDerek Atkins <warlord@mit.edu>
Thu, 16 Aug 2001 01:48:48 +0000 (01:48 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 16 Aug 2001 01:48:48 +0000 (01:48 +0000)
to fix symbol versioning problems

change to rxgen ok on the basis that nothing other than AFS is in any danger
of using rx kernel code

src/rx/rx.c
src/rx/rx_event.c
src/rxgen/rpc_main.c

index e594f2b..83f7eb4 100644 (file)
@@ -9,12 +9,12 @@
 
 /* RX:  Extended Remote Procedure Call */
 
+#include <afsconfig.h>
 #ifdef KERNEL
 #include "../afs/param.h"
 #else
 #include <afs/param.h>
 #endif
-#include <afsconfig.h>
 
 RCSID("$Header$");
 
index 4bcb400..4a5bc06 100644 (file)
@@ -7,12 +7,12 @@
  * directory or online at http://www.openafs.org/dl/license10.html
  */
 
+#include <afsconfig.h>
 #ifdef KERNEL
 #include "../afs/param.h"
 #else
 #include <afs/param.h>
 #endif
-#include <afsconfig.h>
 
 RCSID("$Header$");
 
index 3c1fe95..71a2787 100644 (file)
@@ -531,6 +531,7 @@ h_output(infile, define, extend, outfile, append)
        f_print(fout, "#define  _RXGEN_%s_\n\n", uppercase(fullname));
        f_print(fout, "#ifdef   KERNEL\n");
        f_print(fout, "/* The following 'ifndefs' are not a good solution to the vendor's omission of surrounding all system includes with 'ifndef's since it requires that this file is included after the system includes...*/\n");
+       f_print(fout, "#include <afsconfig.h>\n");
        f_print(fout, "#include \"../afs/param.h\"\n");
        f_print(fout, "#ifdef   UKERNEL\n");
        f_print(fout, "#include \"../afs/sysincludes.h\"\n");