diff options
Diffstat (limited to 'include/ipmitool/log.h')
-rw-r--r-- | include/ipmitool/log.h | 9 |
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*/ - |