summaryrefslogtreecommitdiff
path: root/util/ipmiutil.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-08-24 05:56:37 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-08-24 05:56:37 +0200
commitdb5e8f26947114f06480dd22b9db7e22e50ee133 (patch)
treebb7418b545d295ea7cc4f5e7404d262e51082e0f /util/ipmiutil.c
parent55adddbc16f65732b57ab8585c47001fced91d77 (diff)
Imported Upstream version 3.0.0upstream/3.0.0
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*/