14 Apr
2008
14 Apr
'08
10:02 a.m.
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