diff options
Diffstat (limited to 'bin/ksh')
-rw-r--r-- | bin/ksh/lex.c | 4 | ||||
-rw-r--r-- | bin/ksh/misc.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/bin/ksh/lex.c b/bin/ksh/lex.c index 11f065797f9..53e72b5ab25 100644 --- a/bin/ksh/lex.c +++ b/bin/ksh/lex.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lex.c,v 1.17 2003/02/28 09:45:09 jmc Exp $ */ +/* $OpenBSD: lex.c,v 1.18 2003/08/06 21:08:05 millert Exp $ */ /* * lexical analysis and source input @@ -1394,5 +1394,5 @@ pop_state_(si, old_end) afree(old_base, ATEMP); - return si->base + STATE_BSIZE - 1;; + return si->base + STATE_BSIZE - 1; } diff --git a/bin/ksh/misc.c b/bin/ksh/misc.c index 688c5820eed..832ad7ffbc7 100644 --- a/bin/ksh/misc.c +++ b/bin/ksh/misc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: misc.c,v 1.17 2003/08/05 20:52:27 millert Exp $ */ +/* $OpenBSD: misc.c,v 1.18 2003/08/06 21:08:05 millert Exp $ */ /* * Miscellaneous functions @@ -1049,13 +1049,13 @@ ksh_getopt(argv, go, options) go->optarg = argv[go->optind - 1] + go->p; go->p = 0; } else - go->optarg = (char *) 0;; + go->optarg = (char *) 0; } else { if (argv[go->optind] && digit(argv[go->optind][0])) { go->optarg = argv[go->optind++]; go->p = 0; } else - go->optarg = (char *) 0;; + go->optarg = (char *) 0; } } return c; |