Removed unnecessary includes of config.h
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@426 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
parent
55e524871a
commit
d4e7f8fa07
|
@ -1,3 +1,7 @@
|
||||||
|
2004-07-05 Jan-Hinnerk Reichert <hinni@despammed.com>
|
||||||
|
* *.c, *.h: Removed unnecessary includes of
|
||||||
|
config.h
|
||||||
|
|
||||||
2004-07-04 Jan-Hinnerk Reichert <hinni@despammed.com>
|
2004-07-04 Jan-Hinnerk Reichert <hinni@despammed.com>
|
||||||
* avr.h: Removed some unused prototypes
|
* avr.h: Removed some unused prototypes
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,6 @@
|
||||||
|
|
||||||
|
|
||||||
#include "avr.h"
|
#include "avr.h"
|
||||||
#include "config.h"
|
|
||||||
#include "lists.h"
|
#include "lists.h"
|
||||||
#include "pindefs.h"
|
#include "pindefs.h"
|
||||||
#include "ppi.h"
|
#include "ppi.h"
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
#ifndef __avr910_h__
|
#ifndef __avr910_h__
|
||||||
#define __avr910_h__
|
#define __avr910_h__
|
||||||
|
|
||||||
#include "config.h"
|
#include "avrpart.h"
|
||||||
|
|
||||||
void avr910_initpgm (PROGRAMMER * pgm);
|
void avr910_initpgm (PROGRAMMER * pgm);
|
||||||
|
|
||||||
|
|
|
@ -26,6 +26,9 @@
|
||||||
|
|
||||||
#include "lists.h"
|
#include "lists.h"
|
||||||
|
|
||||||
|
|
||||||
|
extern LISTID part_list;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* AVR serial programming instructions
|
* AVR serial programming instructions
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -22,8 +22,6 @@
|
||||||
#ifndef __butterfly_h__
|
#ifndef __butterfly_h__
|
||||||
#define __butterfly_h__
|
#define __butterfly_h__
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
void butterfly_initpgm (PROGRAMMER * pgm);
|
void butterfly_initpgm (PROGRAMMER * pgm);
|
||||||
|
|
||||||
#endif /* __butterfly_h__ */
|
#endif /* __butterfly_h__ */
|
||||||
|
|
|
@ -47,8 +47,6 @@ extern FILE * yyin;
|
||||||
extern PROGRAMMER * current_prog;
|
extern PROGRAMMER * current_prog;
|
||||||
extern AVRPART * current_part;
|
extern AVRPART * current_part;
|
||||||
extern AVRMEM * current_mem;
|
extern AVRMEM * current_mem;
|
||||||
extern LISTID programmers;
|
|
||||||
extern LISTID part_list;
|
|
||||||
extern int lineno;
|
extern int lineno;
|
||||||
extern char * infile;
|
extern char * infile;
|
||||||
extern LISTID string_list;
|
extern LISTID string_list;
|
||||||
|
|
|
@ -50,7 +50,6 @@
|
||||||
#include "lists.h"
|
#include "lists.h"
|
||||||
#include "par.h"
|
#include "par.h"
|
||||||
#include "pindefs.h"
|
#include "pindefs.h"
|
||||||
#include "ppi.h"
|
|
||||||
#include "term.h"
|
#include "term.h"
|
||||||
|
|
||||||
|
|
||||||
|
@ -134,7 +133,7 @@ int getexitspecs(char *s, int *set, int *clr)
|
||||||
else if (strcmp(cp, "noreset") == 0) {
|
else if (strcmp(cp, "noreset") == 0) {
|
||||||
*set |= par_getpinmask(pgm->pinno[PIN_AVR_RESET]);
|
*set |= par_getpinmask(pgm->pinno[PIN_AVR_RESET]);
|
||||||
}
|
}
|
||||||
else if (strcmp(cp, "vcc") == 0) {
|
else if (strcmp(cp, "vcc") == 0) {
|
||||||
if (pgm->pinno[PPI_AVR_VCC])
|
if (pgm->pinno[PPI_AVR_VCC])
|
||||||
*set |= pgm->pinno[PPI_AVR_VCC];
|
*set |= pgm->pinno[PPI_AVR_VCC];
|
||||||
}
|
}
|
||||||
|
@ -507,7 +506,7 @@ UPDATE * new_update(int op, char * memtype, int filefmt, char * filename)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
int do_op(PROGRAMMER * pgm, struct avrpart * p, UPDATE * upd, int nowrite,
|
int do_op(PROGRAMMER * pgm, struct avrpart * p, UPDATE * upd, int nowrite,
|
||||||
int verify)
|
int verify)
|
||||||
{
|
{
|
||||||
struct avrpart * v;
|
struct avrpart * v;
|
||||||
|
|
|
@ -22,8 +22,6 @@
|
||||||
#ifndef __par_h__
|
#ifndef __par_h__
|
||||||
#define __par_h__
|
#define __par_h__
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
void par_initpgm (PROGRAMMER * pgm);
|
void par_initpgm (PROGRAMMER * pgm);
|
||||||
|
|
||||||
int par_getpinmask(int pin);
|
int par_getpinmask(int pin);
|
||||||
|
|
|
@ -35,6 +35,9 @@
|
||||||
#define PGM_DESCLEN 80
|
#define PGM_DESCLEN 80
|
||||||
#define PGM_PORTLEN PATH_MAX
|
#define PGM_PORTLEN PATH_MAX
|
||||||
#define PGM_TYPELEN 32
|
#define PGM_TYPELEN 32
|
||||||
|
|
||||||
|
extern LISTID programmers;
|
||||||
|
|
||||||
typedef struct programmer_t {
|
typedef struct programmer_t {
|
||||||
LISTID id;
|
LISTID id;
|
||||||
char desc[PGM_DESCLEN];
|
char desc[PGM_DESCLEN];
|
||||||
|
|
|
@ -22,8 +22,6 @@
|
||||||
#ifndef __ppi_h__
|
#ifndef __ppi_h__
|
||||||
#define __ppi_h__
|
#define __ppi_h__
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* PPI registers
|
* PPI registers
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -30,8 +30,6 @@
|
||||||
#ifndef __serial_h__
|
#ifndef __serial_h__
|
||||||
#define __serial_h__
|
#define __serial_h__
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
extern int serial_open(char * port, long baud);
|
extern int serial_open(char * port, long baud);
|
||||||
extern void serial_close(int fd);
|
extern void serial_close(int fd);
|
||||||
|
|
||||||
|
|
|
@ -22,8 +22,6 @@
|
||||||
#ifndef __stk500_h__
|
#ifndef __stk500_h__
|
||||||
#define __stk500_h__
|
#define __stk500_h__
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
void stk500_initpgm (PROGRAMMER * pgm);
|
void stk500_initpgm (PROGRAMMER * pgm);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue