Skip to content
Snippets Groups Projects
Commit 5bd7caab authored by Thomas Jahns's avatar Thomas Jahns :cartwheel:
Browse files

Fix incorrect static declaration.

parent a1b5125b
No related branches found
No related tags found
No related merge requests found
......@@ -244,7 +244,6 @@ elemCheck(void *q, void *nm)
int fowMPINONB ( const char *filename )
{
static aFiledataM *of;
static unsigned long buffersize = 0;
int id;
enum {
......@@ -265,7 +264,7 @@ int fowMPINONB ( const char *filename )
xdebug("buffersize=%ld", buffersize);
listSetForeach(bibAFiledataM, elemCheck, (void *)filename);
of = initAFiledataMPINONB(filename, (size_t)buffersize);
aFiledataM *of = initAFiledataMPINONB(filename, (size_t)buffersize);
if ((id = listSetAdd(bibAFiledataM, of)) < 0 )
xabort("filename %s not unique", of->name);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment