aboutsummaryrefslogtreecommitdiff
path: root/ddb/db_lex.c
diff options
context:
space:
mode:
authorGuy-Fleury Iteriteka <gfleury@disroot.org>2023-01-01 14:49:07 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-01-01 13:56:06 +0100
commit4fa8fee3012a7ecda4d7e45de62e1f3cba5ea38f (patch)
treeb7989f6a5c5fc941b328abe497af14f93cf10cf7 /ddb/db_lex.c
parentf41500837c5a0d0433bbc7cc1de603cbccfc2958 (diff)
downloadgnumach-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.c6
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;