Commit 39cc9f4b authored by Sebastien Ponce's avatar Sebastien Ponce Committed by Steven Murray
Browse files

Dropped useless DLL_DECL macro.

Note that this change is a noop, as the code after compiler preprocessing does not change. This was actually double checked manually.
parent 4145fce6
......@@ -97,7 +97,7 @@ static char *getconfent_r(filename,category, name, flags, buffer, bufsiz)
static int value_key = -1;
char DLL_DECL *getconfent(category, name, flags)
char *getconfent(category, name, flags)
const char *category;
const char *name;
int flags;
......@@ -112,7 +112,7 @@ char DLL_DECL *getconfent(category, name, flags)
return(getconfent_r(NULL,category,name,flags,value,BUFSIZ+1));
}
char DLL_DECL *getconfent_fromfile(filename,category, name, flags)
char *getconfent_fromfile(filename,category, name, flags)
const char *filename;
const char *category;
const char *name;
......@@ -128,7 +128,7 @@ char DLL_DECL *getconfent_fromfile(filename,category, name, flags)
return(getconfent_r(filename,category,name,flags,value,BUFSIZ+1));
}
int DLL_DECL getconfent_parser(conf_val, result, count)
int getconfent_parser(conf_val, result, count)
char **conf_val;
char ***result;
int *count;
......@@ -156,7 +156,7 @@ int DLL_DECL getconfent_parser(conf_val, result, count)
return 0;
}
int DLL_DECL getconfent_multi_fromfile(filename, category, name, flags, result, count)
int getconfent_multi_fromfile(filename, category, name, flags, result, count)
const char *filename;
const char *category;
const char *name;
......@@ -179,7 +179,7 @@ int DLL_DECL getconfent_multi_fromfile(filename, category, name, flags, result,
int DLL_DECL getconfent_multi(category, name, flags, result, count)
int getconfent_multi(category, name, flags, result, count)
const char *category;
const char *name;
int flags;
......
......@@ -7,10 +7,10 @@
#include "osdep.h"
EXTERN_C char DLL_DECL *getconfent _PROTO((const char *, const char *, int));
EXTERN_C char DLL_DECL *getconfent_fromfile _PROTO((const char *, const char *, const char *, int));
EXTERN_C int DLL_DECL getconfent_multi _PROTO((const char *, const char *, int, char ***, int *));
EXTERN_C int DLL_DECL getconfent_multi_fromfile _PROTO((const char *, const char *, const char *, int, char ***, int *));
EXTERN_C int DLL_DECL getconfent_parser _PROTO((char **, char ***, int *));
EXTERN_C char *getconfent _PROTO((const char *, const char *, int));
EXTERN_C char *getconfent_fromfile _PROTO((const char *, const char *, const char *, int));
EXTERN_C int getconfent_multi _PROTO((const char *, const char *, int, char ***, int *));
EXTERN_C int getconfent_multi_fromfile _PROTO((const char *, const char *, const char *, int, char ***, int *));
EXTERN_C int getconfent_parser _PROTO((char **, char ***, int *));
#endif /* __getconfent_h */
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment