summaryrefslogtreecommitdiffstats
path: root/sys/ddb/db_input.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-11-24 14:13:42 +0000
committerbde <bde@FreeBSD.org>1995-11-24 14:13:42 +0000
commited3ff9247ca7a0b2d76d22401a54a3e82ce0f2e9 (patch)
treef5a995a3d9175676e570f12a2bcb1bad0e1b976b /sys/ddb/db_input.c
parentc14aa7ae4820b9e50a391cdb2e5ed91d81933ccd (diff)
downloadFreeBSD-src-ed3ff9247ca7a0b2d76d22401a54a3e82ce0f2e9.zip
FreeBSD-src-ed3ff9247ca7a0b2d76d22401a54a3e82ce0f2e9.tar.gz
Completed function declarations and/or added prototypes and/or #includes
to get the prototypes. Changed some `int's to `boolean_t's. boolean_t's are ints so they are hard to distinguish from ints. Converted function headers to old-style. ddb is written in K&R1 C except where we broke it.
Diffstat (limited to 'sys/ddb/db_input.c')
-rw-r--r--sys/ddb/db_input.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/ddb/db_input.c b/sys/ddb/db_input.c
index c309774..9cef6e1 100644
--- a/sys/ddb/db_input.c
+++ b/sys/ddb/db_input.c
@@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: db_input.c,v 1.6 1994/08/18 22:34:23 wollman Exp $
+ * $Id: db_input.c,v 1.7 1995/05/30 07:56:58 rgrimes Exp $
*/
/*
@@ -57,6 +57,12 @@ char * db_le; /* one past last character */
#define BLANK ' '
#define BACKUP '\b'
+extern int cnmaygetc __P((void));
+extern void db_delete __P((int n, int bwd));
+extern int db_inputchar __P((int c));
+extern void db_putnchars __P((int c, int count));
+extern void db_putstring __P((char *s, int count));
+
void
db_putstring(s, count)
char *s;
@@ -194,7 +200,7 @@ db_inputchar(c)
}
int
-cnmaygetc (void)
+cnmaygetc()
{
return (-1);
}
OpenPOWER on IntegriCloud