]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Fri, 2 Nov 2001 02:16:01 +0000 (02:16 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 2 Nov 2001 02:16:01 +0000 (02:16 +0000)
* sunrpc/rpc_main.c: Optomize variable definitions a bit.

ChangeLog
sunrpc/rpc_main.c

index 2540cbdb04b58e9d8519efc201cfae4474480357..c798c095c74e8ee1b4243b6cb90b30fcb53479ce 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2001-11-01  Ulrich Drepper  <drepper@redhat.com>
 
+       * sunrpc/rpc_main.c: Optomize variable definitions a bit.
+
        * sunrpc/Makefile (rpcgen-cmd): Use ../scripts/cpp in rpcgen calls.
        * scripts/cpp: New file.
 
index fb5f5f811f6220b4c8aed520b842ad4e32587814..69fc848ffb5e267b959c14531c1dc6dd97958db9 100644 (file)
@@ -80,9 +80,9 @@ static const char *cmdname;
 #define SUNOS_CPP "/lib/cpp"
 
 static const char *svcclosetime = "120";
-static int cppDefined = 0;     /* explicit path for C preprocessor */
+static int cppDefined; /* explicit path for C preprocessor */
 static const char *CPP = SUNOS_CPP;
-static char CPPFLAGS[] = "-C";
+static const char CPPFLAGS[] = "-C";
 static char *pathbuf;
 static int cpp_pid;
 static const char *allv[] =
@@ -167,17 +167,17 @@ int newstyle;                     /* newstyle of passing arguments (by value) */
 #ifdef __GNU_LIBRARY__
 int Cflag = 1;                 /* ANSI C syntax */
 #else
-int Cflag = 0;                 /* ANSI C/C++ syntax */
+int Cflag;                     /* ANSI C/C++ syntax */
 #endif
-int CCflag = 0;                        /* C++ files */
+int CCflag;                    /* C++ files */
 static int allfiles;           /* generate all files */
 #ifdef __GNU_LIBRARY__
-int tirpcflag = 0;             /* generating code for tirpc, by default */
+int tirpcflag;                 /* generating code for tirpc, by default */
 #else
 int tirpcflag = 1;             /* generating code for tirpc, by default */
 #endif
-xdrfunc *xdrfunc_head = NULL;  /* xdr function list */
-xdrfunc *xdrfunc_tail = NULL;  /* xdr function list */
+xdrfunc *xdrfunc_head;         /* xdr function list */
+xdrfunc *xdrfunc_tail;         /* xdr function list */
 
 int
 __attribute__ ((noreturn))