diff options
author | Tom Yu <tlyu@mit.edu> | 2009-10-31 00:48:38 +0000 |
---|---|---|
committer | Tom Yu <tlyu@mit.edu> | 2009-10-31 00:48:38 +0000 |
commit | 02d6bcbc98a214e7aeaaa9f45f0db8784a7b743b (patch) | |
tree | 61b9147863cd8be3eff63903dc36cae168254bd5 /src/prototype/getopt.c | |
parent | 162ab371748cba0cc6f172419bd6e71fa04bb878 (diff) | |
download | krb5-02d6bcbc98a214e7aeaaa9f45f0db8784a7b743b.zip krb5-02d6bcbc98a214e7aeaaa9f45f0db8784a7b743b.tar.gz krb5-02d6bcbc98a214e7aeaaa9f45f0db8784a7b743b.tar.bz2 |
make mark-cstyle
make reindent
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23100 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/prototype/getopt.c')
-rw-r--r-- | src/prototype/getopt.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/prototype/getopt.c b/src/prototype/getopt.c index 7f3882c..5206e0f 100644 --- a/src/prototype/getopt.c +++ b/src/prototype/getopt.c @@ -4,8 +4,8 @@ extern int optind; extern char *optarg; main(argc, argv) - int argc; - char **argv; +int argc; +char **argv; { int c; int errflg = 0; @@ -13,19 +13,19 @@ main(argc, argv) <<<other globals here>>>; while ((c = getopt(argc, argv, "<<<>>>")) != -1) { - switch (c) { - <<<add cases for arguments here>>>; - case '?': - default: - errflg++; - break; - } + switch (c) { + <<<add cases for arguments here>>>; + case '?': + default: + errflg++; + break; + } } if (errflg) { - fprintf(stderr, "Usage: %s <<<args>>>", argv[0]); - exit(2); + fprintf(stderr, "Usage: %s <<<args>>>", argv[0]); + exit(2); } for (; optind < argc; optind++) { - <<<process arg optind>>>; + <<<process arg optind>>>; } } |