extern void needed in shhopt.h to build a .dll
Hi, The following patch is needed to build libsmi as a .dll
Regards Anders
Index: shhopt.h =================================================================== --- shhopt.h (revision 8039) +++ shhopt.h (working copy) @@ -1,4 +1,4 @@ -/* $Id: shhopt.h,v 1.5 2000/03/10 08:32:39 sverrehu Exp $ */ +/* $Id$ */ #ifndef SHHOPT_H #define SHHOPT_H
@@ -30,8 +30,8 @@ } optStruct;
-void optSetFatalFunc(void (*f)(const char *, ...)); -void optParseOptions(int *argc, char *argv[], +extern void optSetFatalFunc(void (*f)(const char *, ...)); +extern void optParseOptions(int *argc, char *argv[], optStruct opt[], int allowNegNum);
#ifdef __cplusplus
On Mon, Apr 14, 2008 at 10:02:51AM +0200, Anders Broman wrote:
Hi, The following patch is needed to build libsmi as a .dll
[...]
Thanks. Applied (r8040).
/js
participants (2)
-
Anders Broman
-
Juergen Schoenwaelder