diff options
author | Guy-Fleury Iteriteka <gfleury@disroot.org> | 2023-01-01 14:49:07 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-01-01 13:56:06 +0100 |
commit | 4fa8fee3012a7ecda4d7e45de62e1f3cba5ea38f (patch) | |
tree | b7989f6a5c5fc941b328abe497af14f93cf10cf7 /ddb/db_lex.c | |
parent | f41500837c5a0d0433bbc7cc1de603cbccfc2958 (diff) | |
download | gnumach-4fa8fee3012a7ecda4d7e45de62e1f3cba5ea38f.tar.gz gnumach-4fa8fee3012a7ecda4d7e45de62e1f3cba5ea38f.tar.bz2 gnumach-4fa8fee3012a7ecda4d7e45de62e1f3cba5ea38f.zip |
convert K&R into ansi
Message-Id: <Y7GBQ5bk6ZQqtfda@falom>
Diffstat (limited to 'ddb/db_lex.c')
-rw-r--r-- | ddb/db_lex.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ddb/db_lex.c b/ddb/db_lex.c index 8ab69106..49063e1b 100644 --- a/ddb/db_lex.c +++ b/ddb/db_lex.c @@ -49,8 +49,7 @@ int db_look_char = 0; db_expr_t db_look_token = 0; int -db_read_line(repeat_last) - const char *repeat_last; +db_read_line(const char *repeat_last) { int i; @@ -103,8 +102,7 @@ db_save_lex_context(struct db_lex_context *lp) } void -db_restore_lex_context(lp) - const struct db_lex_context *lp; +db_restore_lex_context(const struct db_lex_context *lp) { db_lp = lp->l_ptr; db_last_lp = db_lp; |