summaryrefslogtreecommitdiff
path: root/lib/lanplus/helper.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2015-04-29 15:44:44 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-04-29 15:44:44 +0200
commitb18f5bf2db0fba2e7e539f68645836036d940d26 (patch)
tree23c4dd8f3d273f34ef9bbe1799d1958685559915 /lib/lanplus/helper.c
parenta7f89980e5b3f4b9a74c70dbc5ffe8aabd28be28 (diff)
Imported Upstream version 2.9.6upstream/2.9.6
Diffstat (limited to 'lib/lanplus/helper.c')
-rw-r--r--lib/lanplus/helper.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/lanplus/helper.c b/lib/lanplus/helper.c
index 51e39c8..38ce28f 100644
--- a/lib/lanplus/helper.c
+++ b/lib/lanplus/helper.c
@@ -72,8 +72,9 @@
extern int verbose;
-#ifdef MOVED
-/* moved to subs.c */
+/* By default, moved to util/subs.c for more global access.
+ * Define LANHELPER to define these here for ipmi_lanplus.a */
+#ifdef LANHELPER
uint32_t buf2long(uint8_t * buf)
{
return (uint32_t)(buf[3] << 24 | buf[2] << 16 | buf[1] << 8 | buf[0]);
@@ -102,7 +103,7 @@ const char * buf2str(uint8_t * buf, int len)
return (const char *)str;
}
-/* moved to util/ipmilanplus.c for better control */
+/* moved to util/subs.c for better control (e.g. ipmilanplus.c) */
#ifdef STATIC
extern FILE *fplog; /*see util/ipmicmd.c ++++*/
#endif