[Cvs-nserver-commits] CVS: cvs-nserver/src chkpwd-audit-log.c,1.1.2.4,1.1.2.5
Brought to you by:
tyranny
From: Alexey M. <ty...@us...> - 2002-05-25 20:50:10
|
Update of /cvsroot/cvs-nserver/cvs-nserver/src In directory usw-pr-cvs1:/tmp/cvs-serv4191 Modified Files: Tag: NCLI-1-11-1 chkpwd-audit-log.c Log Message: Make variables static Index: chkpwd-audit-log.c =================================================================== RCS file: /cvsroot/cvs-nserver/cvs-nserver/src/Attic/chkpwd-audit-log.c,v retrieving revision 1.1.2.4 retrieving revision 1.1.2.5 diff -u -d -r1.1.2.4 -r1.1.2.5 --- chkpwd-audit-log.c 25 May 2002 15:57:49 -0000 1.1.2.4 +++ chkpwd-audit-log.c 25 May 2002 20:50:07 -0000 1.1.2.5 @@ -33,8 +33,8 @@ #include "stringbuf.h" /* command line options processing */ -int opt_log_success = -1; -int opt_debug = 0; +static int opt_log_success = -1; +static int opt_debug = 0; static const char* short_options = "fsVh"; @@ -48,7 +48,7 @@ }; -const char* usage = +static const char* usage = "Usage: chkpwd-audit-log --failure -- CHECKPASSWORD... chkpwd-audit-log --success -- prog...\n" "\n" "Call the logging helper specified by the CVS_LOGGING_HELPER environment variable\n" @@ -60,7 +60,7 @@ " -h, --help\tDisplay this help and exit\n" " -V, --version\tDisplay version number and exit\n"; -const char* version = "chkpwd-audit-log " VERSION; +static const char* version = "chkpwd-audit-log " VERSION; int main (int argc, char** argv) |