diff --git a/avrdude/ChangeLog b/avrdude/ChangeLog index ee4df23d..f79db204 100644 --- a/avrdude/ChangeLog +++ b/avrdude/ChangeLog @@ -1,3 +1,8 @@ +2004-04-23 Joerg Wunsch + + * lists.h, lists.c: Drop LISTSZ and the check for + it in lcreat(). + 2004-04-17 Jan-Hinnerk Reichert * avr910.c: Hopefully fixed that weird "first byte not diff --git a/avrdude/lists.c b/avrdude/lists.c index ab3b6972..5a6dc44d 100644 --- a/avrdude/lists.c +++ b/avrdude/lists.c @@ -413,11 +413,6 @@ lcreat ( void * liststruct, int elements ) { LIST * l; - if (LISTSZ != sizeof(LIST)) { - printf ( "lcreat(): warning, LISTSZ[%d] != sizeof(LIST)[%d]\n", - LISTSZ, sizeof(LIST) ); - } - if (liststruct == NULL) { /*-------------------------------------------------- allocate memory for the list itself diff --git a/avrdude/lists.h b/avrdude/lists.h index 20be40d1..117434d4 100644 --- a/avrdude/lists.h +++ b/avrdude/lists.h @@ -68,9 +68,6 @@ typedef void * LNODEID; #define LISTRMV(l,d) lrmv_d(l,d) /* remove from end of the list */ -#define LISTSZ 32 /* size of internal private LIST structure */ - - /* .................... Function Prototypes .................... */ LISTID lcreat ( void * liststruct, int poolsize );