[pisa-src] r1774 - trunk/libpisa/log.h

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Wed, 25 Nov 2009 13:21:12 +0100

Author: biurrun
Date: Wed Nov 25 13:21:12 2009
New Revision: 1774

Log:
Remove CONFIG_PISA_LOGGING #ifdef around the complete file.
The header contains only function declarations and can be #included
unconditionally without any ill effects.

Modified:
   trunk/libpisa/log.h

Modified: trunk/libpisa/log.h
==============================================================================
--- trunk/libpisa/log.h Wed Nov 25 13:12:07 2009        (r1773)
+++ trunk/libpisa/log.h Wed Nov 25 13:21:12 2009        (r1774)
@@ -13,11 +13,6 @@
 #ifndef PISA_LOG_H
 #define PISA_LOG_H
 
-/* Only offer logging functionality, if we were configured with the
- * corresponding option */
-#include "config.h"
-#ifdef CONFIG_PISA_LOGGING
-
 #include <time.h>
 #include <netinet/in.h>
 
@@ -30,5 +25,4 @@
 void log_nat_mapping_end(const char *hit);
 void print_to_log(const char* fmt,...);
 
-#endif /* CONFIG_PISA_LOGGING */
 #endif /* PISA_LOG_H */

Other related posts:

  • » [pisa-src] r1774 - trunk/libpisa/log.h - Diego Biurrun