summaryrefslogtreecommitdiff
path: root/include/ipmitool/log.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2022-09-10 15:44:41 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2022-09-10 15:44:41 +0200
commita9ee361f27e0439530387765924574e5358c8a5c (patch)
tree3104aecc4d574f7d7bbb269223814586277b1797 /include/ipmitool/log.h
parent82ac6c87ce0b0af2fb8de25d70442fec406bb742 (diff)
New upstream version 1.8.19upstream/1.8.19upstream
Diffstat (limited to 'include/ipmitool/log.h')
-rw-r--r--include/ipmitool/log.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/include/ipmitool/log.h b/include/ipmitool/log.h
index 7199fdb..dcdd760 100644
--- a/include/ipmitool/log.h
+++ b/include/ipmitool/log.h
@@ -30,8 +30,7 @@
* EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
*/
-#ifndef IPMITOOL_LOG_H
-#define IPMITOOL_LOG_H
+#pragma once
#include <syslog.h>
@@ -54,10 +53,6 @@
void log_init(const char * name, int isdaemon, int verbose);
void log_halt(void);
-void log_level_set(int level);
-int log_level_get(void);
+void log_level_set(int verbose);
void lprintf(int level, const char * format, ...);
void lperror(int level, const char * format, ...);
-
-#endif /*IPMITOOL_LOG_H*/
-