mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-12-13 17:34:56 +00:00
safemode.c: Obtain progname from avrdude.h rather than trying to roll our
own (duplicate) copy of it. other files: Constify char pointers. git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@725 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
6
config.c
6
config.c
@@ -48,7 +48,7 @@ LISTID part_list;
|
||||
LISTID programmers;
|
||||
|
||||
int lineno;
|
||||
char * infile;
|
||||
const char * infile;
|
||||
|
||||
extern char * yytext;
|
||||
|
||||
@@ -270,7 +270,7 @@ void pyytext(void)
|
||||
}
|
||||
|
||||
|
||||
char * dup_string(char * str)
|
||||
char * dup_string(const char * str)
|
||||
{
|
||||
char * s;
|
||||
|
||||
@@ -283,7 +283,7 @@ char * dup_string(char * str)
|
||||
return s;
|
||||
}
|
||||
|
||||
int read_config(char * file)
|
||||
int read_config(const char * file)
|
||||
{
|
||||
FILE * f;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user