diff options
| author | svn2git <svn2git@FreeBSD.org> | 1994-05-01 08:00:00 +0000 | 
|---|---|---|
| committer | svn2git <svn2git@FreeBSD.org> | 1994-05-01 08:00:00 +0000 | 
| commit | a16f65c7d117419bd266c28a1901ef129a337569 (patch) | |
| tree | 2626602f66dc3551e7a7c7bc9ad763c3bc7ab40a /sys/ddb/db_lex.c | |
| parent | 8503f4f13f77abf7adc8f7e329c6f9c1d52b6a20 (diff) | |
Diffstat (limited to 'sys/ddb/db_lex.c')
| -rw-r--r-- | sys/ddb/db_lex.c | 8 | 
1 files changed, 6 insertions, 2 deletions
| diff --git a/sys/ddb/db_lex.c b/sys/ddb/db_lex.c index 8db18d2e59ce..6455927d5bf1 100644 --- a/sys/ddb/db_lex.c +++ b/sys/ddb/db_lex.c @@ -23,7 +23,7 @@   * any improvements or extensions that they make and grant Carnegie the   * rights to redistribute these changes.   * - *	$Id: db_lex.c,v 1.2 1993/10/16 16:47:17 rgrimes Exp $ + *	$Id: db_lex.c,v 1.3 1993/11/25 01:30:07 wollman Exp $   */  /* @@ -33,6 +33,9 @@  /*   * Lexical analyzer.   */ +#include "param.h" +#include "systm.h" +#include "ddb/ddb.h"  #include <ddb/db_lex.h>  char	db_line[120]; @@ -78,6 +81,7 @@ db_read_char()  void  db_unread_char(c) +	int c;  {  	db_look_char = c;  } @@ -132,7 +136,7 @@ db_lex()  	if (c >= '0' && c <= '9') {  	    /* number */ -	    int	r, digit; +	    int	r, digit = 0;  	    if (c > '0')  		r = db_radix; | 
