diff options
Diffstat (limited to 'ddb')
-rw-r--r-- | ddb/db_input.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ddb/db_input.c b/ddb/db_input.c index 6e7fa00..8f875ad 100644 --- a/ddb/db_input.c +++ b/ddb/db_input.c @@ -95,7 +95,7 @@ db_delete(n, bwd) int n; int bwd; { - register char *p; + char *p; if (bwd) { db_lc -= n; @@ -214,7 +214,7 @@ db_inputchar(c) INC_DB_CURR(); db_le = db_lc = db_lbuf_start; } else { - register char *p; + char *p; INC_DB_CURR(); for (p = db_history_curr, db_le = db_lbuf_start; *p; ) { @@ -237,7 +237,7 @@ db_inputchar(c) INC_DB_CURR(); db_delete_line(); if (db_history_curr != db_history_last) { - register char *p; + char *p; for (p = db_history_curr, db_le = db_lbuf_start; *p;) { *db_le++ = *p++; @@ -268,7 +268,7 @@ db_inputchar(c) * save it. */ if (db_history_curr == db_history_prev) { - register char *pp, *pc; + char *pp, *pc; /* * Is it the same? @@ -292,7 +292,7 @@ db_inputchar(c) } } if (db_le != db_lbuf_start) { - register char *p; + char *p; db_history_prev = db_history_last; for (p = db_lbuf_start; p != db_le; p++) { *db_history_last++ = *p; @@ -312,7 +312,7 @@ db_inputchar(c) cnputc('\007'); } else if (c >= ' ' && c <= '~') { - register char *p; + char *p; for (p = db_le; p > db_lc; p--) *p = *(p-1); @@ -351,7 +351,7 @@ db_readline(lstart, lsize) void db_check_interrupt() { - register int c; + int c; c = cnmaygetc(); switch (c) { |