Drop the LISTSZ define as well as the check for it in lcreat(). They
were not needed at all, and got in the way when compiling on a 64-bit host OS. Suggested by: Brian S. Dean git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@413 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
parent
266b92449f
commit
2b3bfc1858
|
@ -1,3 +1,8 @@
|
|||
2004-04-23 Joerg Wunsch <j@uriah.heep.sax.de>
|
||||
|
||||
* lists.h, lists.c: Drop LISTSZ and the check for
|
||||
it in lcreat().
|
||||
|
||||
2004-04-17 Jan-Hinnerk Reichert <hinni@despammed.com>
|
||||
|
||||
* avr910.c: Hopefully fixed that weird "first byte not
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue