rx-warning-cleanup-and-afsconfig-20010605
[openafs.git] / src / rx / rx_trace.c
index 39af6f9..40f43d4 100644 (file)
@@ -1,11 +1,28 @@
+/*
+ * Copyright 2000, International Business Machines Corporation and others.
+ * All Rights Reserved.
+ * 
+ * This software has been released under the terms of the IBM Public
+ * License.  For details, see the LICENSE file in the top-level source
+ * directory or online at http://www.openafs.org/dl/license10.html
+ */
+
 #ifdef RXDEBUG
 
 #include <afs/param.h>
+#include <afsconfig.h>
+#ifdef HAVE_STRING_H
+#include <string.h>
+#endif
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
 #ifdef AFS_NT40_ENV
 #include <fcntl.h>
 #include <io.h>
 #else
 #include <sys/file.h>
+#include <unistd.h>
 #endif
 #include "rx.h"
 #include "rx_globals.h"
@@ -111,7 +128,7 @@ void rxi_calltrace(event, call)
 #include <afs/afsutil.h>
 #endif
 
-main(argc, argv)
+int main(argc, argv)
 char **argv;
 {
   struct rx_trace ip;