diff options
author | Kenneth G Raeburn <raeburn@mit.edu> | 1990-07-12 09:56:38 +0000 |
---|---|---|
committer | Kenneth G Raeburn <raeburn@mit.edu> | 1990-07-12 09:56:38 +0000 |
commit | 6d31ba82851ca98b645c9f0e39a342621ae5f164 (patch) | |
tree | 62a400bd616682e4d07f850804207b1cd72d262f /clients/zctl/zctl.c | |
parent | c392ad6f92fc7e85885b72aad9ce7ea71e63fa6c (diff) |
include <com_err.h>; don't declare index when string.h is included; don't
declare malloc multiple times.
Diffstat (limited to 'clients/zctl/zctl.c')
-rw-r--r-- | clients/zctl/zctl.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/clients/zctl/zctl.c b/clients/zctl/zctl.c index 54e690f..6770aca 100644 --- a/clients/zctl/zctl.c +++ b/clients/zctl/zctl.c @@ -15,13 +15,14 @@ #include <zephyr/zephyr.h> #include <ss/ss.h> +#include <com_err.h> #include <pwd.h> #include <netdb.h> #include <string.h> #include <sys/file.h> #include <sys/param.h> #ifndef lint -static char rcsid_zctl_c[] = "$Header$"; +static char *rcsid_zctl_c = "$Header$"; #endif lint #define SUBSATONCE 7 @@ -51,7 +52,7 @@ char subsname[BUFSIZ]; char ourhost[MAXHOSTNAMELEN],ourhostcanon[MAXHOSTNAMELEN]; extern ss_request_table zctl_cmds; -extern char *getenv(), *malloc(), *index(),*malloc(); +extern char *getenv(), *malloc(); extern uid_t getuid(); main(argc,argv) |