summaryrefslogtreecommitdiff
path: root/util/ipmiutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/ipmiutil.c')
-rw-r--r--util/ipmiutil.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/util/ipmiutil.c b/util/ipmiutil.c
index 765f5e6..167236d 100644
--- a/util/ipmiutil.c
+++ b/util/ipmiutil.c
@@ -57,7 +57,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "ipmiutil.h"
static char *progname = "ipmiutil";
-static char *progver = "2.99";
+static char *progver = "3.00";
// static char fdebug = 0;
/*int ipmiutil(int argc, char **argv); */
@@ -122,6 +122,8 @@ int i_discover(int argc, char **argv)
}
#endif
+#ifndef _WINDLL
+/* omit main if compiled as a Windows DLL */
#ifdef WIN32
int __cdecl
#else
@@ -225,5 +227,6 @@ do_exit:
}
return(ret);
}
+#endif
/*end ipmiutil.c*/