otherwise we get weird errors like:
"/usr/include/strings.h", line 52.20: 1506-010 (W) Macro index invoked with a null argument for parameter __s1.
"/usr/include/strings.h", line 52.20: 1506-041 (E) The invocation of macro index contains fewer arguments than required by the macro definition.
"/usr/include/strings.h", line 52.14: 1506-275 (S) Unexpected text ',' encountered.
from the conflict
====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================
to prevent more of same errors
====================
====================
continue to placate aix hatred
====================
aix needs more help
====================
aix needs more help
23 files changed:
#include <afsconfig.h>
#include <afs/stds.h>
#include <stdio.h>
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#else
#ifdef HAVE_STRING_H
#include <string.h>
#endif
-#ifdef HAVE_STRINGS_H
-#include <strings.h>
#endif
#include <ctype.h>
#ifdef AFS_NT40_ENV
*/
#include "lockprocs.h"
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#else
#ifdef HAVE_STRING_H
#include <string.h>
#endif
-#ifdef HAVE_STRINGS_H
-#include <strings.h>
#endif
/* Finds an index in VLDB entry that matches the volume type, server, and partition.
#include <afs/afs_AdminErrors.h>
#ifdef HAVE_STRINGS_H
#include <strings.h>
-#endif
+#else
#ifdef HAVE_STRING_H
#include <string.h>
#endif
+#endif
/*
* Functions that aren't prototyped, but that we use
#include "../adminutil/afs_AdminInternal.h"
#include <afs/afs_AdminErrors.h>
#include "afs_vosAdmin.h"
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#else
#ifdef HAVE_STRING_H
#include <string.h>
#endif
-#ifdef HAVE_STRINGS_H
-#include <strings.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#include <afs/param.h>
#include <afsconfig.h>
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#else
#ifdef HAVE_STRING_H
#include <string.h>
#endif
-#ifdef HAVE_STRINGS_H
-#include <strings.h>
#endif
#if defined(AFS_PTHREAD_ENV)
#include <pthread.h>
# include <netinet/in.h>
# include <sys/time.h>
#endif
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#else
#ifdef HAVE_STRING_H
#include <string.h>
#endif
-#ifdef HAVE_STRINGS_H
-#include <strings.h>
#endif
# include "rx.h"
# include "rx_user.h"
#include "rx.h"
#endif /* AFS_PTHREAD_ENV */
#include <stdlib.h>
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#else
#ifdef HAVE_STRING_H
#include <string.h>
#endif
-#ifdef HAVE_STRINGS_H
-#include <strings.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#include "rx_globals.h"
#include <lwp.h>
#include "rx_internal.h"
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#else
#ifdef HAVE_STRING_H
#include <string.h>
#endif
-#ifdef HAVE_STRINGS_H
-#include <strings.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
# include <sys/stat.h>
# include <sys/time.h>
#endif
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#else
#ifdef HAVE_STRING_H
#include <string.h>
#endif
-#ifdef HAVE_STRINGS_H
-#include <strings.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#include <afs/param.h>
#include <afsconfig.h>
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#else
#ifdef HAVE_STRING_H
#include <string.h>
#endif
-#ifdef HAVE_STRINGS_H
-#include <strings.h>
#endif
#ifdef AFS_NT40_ENV
#include <fcntl.h>
#include <afs/afsutil.h>
#ifdef HAVE_STRINGS_H
#include <strings.h>
-#endif
+#else
#ifdef HAVE_STRING_H
#include <string.h>
#endif
+#endif
#ifndef IPPORT_USERRESERVED
/* If in.h doesn't define this, define it anyway. Unfortunately, defining
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
+#ifdef HAVE_STRINGS_H
+#include <string.h>
+#else
#ifdef HAVE_STRING_H
#include <string.h>
#endif
-#ifdef HAVE_STRINGS_H
-#include <string.h>
#endif
#include <sys/stat.h>
#include <afs/stds.h>
#include <afsconfig.h>
#include <stdio.h>
#include <stdlib.h>
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#else
#ifdef HAVE_STRING_H
#include <string.h>
#endif
-#ifdef HAVE_STRINGS_H
-#include <strings.h>
#endif
#include "rpc_util.h"
#include "rpc_parse.h"
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#else
#ifdef HAVE_STRING_H
#include <string.h>
#endif
-#ifdef HAVE_STRINGS_H
-#include <strings.h>
#endif
#ifdef HAVE_SIGNAL_H
#include <signal.h>
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
-#include <string.h>
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#else
#ifdef HAVE_STRING_H
#include <string.h>
#endif
-#ifdef HAVE_STRINGS_H
-#include <strings.h>
#endif
#include "rpc_util.h"
#include "rpc_scan.h"
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#else
#ifdef HAVE_STRING_H
#include <string.h>
#endif
-#ifdef HAVE_STRINGS_H
-#include <strings.h>
#endif
#include "rpc_scan.h"
#include "rpc_util.h"
#include <afs/param.h>
#include <afsconfig.h>
#include <stdio.h>
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#else
#ifdef HAVE_STRING_H
#include <string.h>
#endif
-#ifdef HAVE_STRINGS_H
-#include <strings.h>
#endif
#include "rpc_parse.h"
#include "rpc_util.h"
#include <afs/param.h>
#include <afsconfig.h>
#include <stdio.h>
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#else
#ifdef HAVE_STRING_H
#include <string.h>
#endif
-#ifdef HAVE_STRINGS_H
-#include <strings.h>
#endif
#include "rpc_scan.h"
#include "rpc_parse.h"
#include <afsconfig.h>
#include <sys/types.h>
#include <stdlib.h>
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#else
#ifdef HAVE_STRING_H
#include <string.h>
#endif
-#ifdef HAVE_STRINGS_H
-#include <strings.h>
#endif
#ifdef AFS_NT40_ENV
#include <winsock2.h>
#endif
#ifdef HAVE_STRINGS_H
#include <strings.h>
-#endif
+#else
#ifdef HAVE_STRING_H
#include <string.h>
#endif
+#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <sys/file.h>
#include <dirent.h>
#endif
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#else
#ifdef HAVE_STRING_H
#include <string.h>
#endif
-#ifdef HAVE_STRINGS_H
-#include <strings.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#include <WINNT/afssw.h>
#endif
#include <stdio.h>
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#else
#ifdef HAVE_STRING_H
#include <string.h>
#endif
-#ifdef HAVE_STRINGS_H
-#include <strings.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#include <afs/param.h>
#include <afsconfig.h>
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#else
#ifdef HAVE_STRING_H
#include <string.h>
#endif
-#ifdef HAVE_STRINGS_H
-#include <strings.h>
#endif
#ifdef HAVE_STDLIB_H
#include <stdlib.h>