devd: Move variable declaration to header
Reminder by: imp
This commit is contained in:
parent
11d416666d
commit
f405a1bea1
@ -140,7 +140,6 @@ typedef struct client {
|
||||
} client_t;
|
||||
|
||||
extern FILE *yyin;
|
||||
extern int lineno;
|
||||
|
||||
static const char notify = '!';
|
||||
static const char nomatch = '?';
|
||||
|
@ -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"
|
||||
|
@ -38,7 +38,6 @@
|
||||
#include "devd.h"
|
||||
#include "y.tab.h"
|
||||
|
||||
extern int lineno;
|
||||
int lineno = 1;
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user