aboutsummaryrefslogtreecommitdiff
path: root/sunrpc
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-11-02 02:16:01 +0000
committerUlrich Drepper <drepper@redhat.com>2001-11-02 02:16:01 +0000
commit5f73e77144a76a585f108c971e6c7aa5c9008944 (patch)
tree10d251bf1d0645e070e20d95009cea69e431983c /sunrpc
parent980c4d04493807bbc52b84cd0cf04b5c0338bc6d (diff)
downloadglibc-5f73e77144a76a585f108c971e6c7aa5c9008944.zip
glibc-5f73e77144a76a585f108c971e6c7aa5c9008944.tar.gz
glibc-5f73e77144a76a585f108c971e6c7aa5c9008944.tar.bz2
Update.
* sunrpc/rpc_main.c: Optomize variable definitions a bit.
Diffstat (limited to 'sunrpc')
-rw-r--r--sunrpc/rpc_main.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sunrpc/rpc_main.c b/sunrpc/rpc_main.c
index fb5f5f8..69fc848 100644
--- a/sunrpc/rpc_main.c
+++ b/sunrpc/rpc_main.c
@@ -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))