Something I always wanted to do: replace all those private "extern"

declarations in each file by a central header file "avrdude.h".


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@721 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Joerg Wunsch
2007-01-24 21:07:54 +00:00
parent 9e00f7b48e
commit 27e16e8371
30 changed files with 106 additions and 98 deletions

View File

@@ -45,8 +45,10 @@ AVRMEM * current_mem;
LISTID part_list;
LISTID programmers;
int lineno = 0;
char * infile = NULL;
int lineno;
char * infile;
extern char * yytext;
#define DEBUG 0
@@ -261,8 +263,6 @@ void print_token(TOKEN * tkn)
void pyytext(void)
{
#if DEBUG
extern char * yytext;
fprintf(stderr, "TOKEN: \"%s\"\n", yytext);
#endif
}