devd: Move variable declaration to header

Reminder by:	imp
This commit is contained in:
Eitan Adler 2018-05-23 13:48:16 +00:00
parent 11d416666d
commit f405a1bea1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=334095
3 changed files with 1 additions and 2 deletions

View File

@ -140,7 +140,6 @@ typedef struct client {
} client_t;
extern FILE *yyin;
extern int lineno;
static const char notify = '!';
static const char nomatch = '?';

View File

@ -52,6 +52,7 @@ void set_variable(const char *, const char *);
void yyerror(const char *s);
int yylex(void);
int yyparse(void);
extern int lineno;
__END_DECLS
#define PATH_DEVCTL "/dev/devctl"

View File

@ -38,7 +38,6 @@
#include "devd.h"
#include "y.tab.h"
extern int lineno;
int lineno = 1;
static void