X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=lib%2Flogging.h;fp=src%2Flogging.h;h=60a48aa1f2c2dc7cc5da6301fbae0d2de0dde9ce;hp=fa6accb754eb34903951719c5b203f1fa12713a2;hb=04d33be4bd102de67bb6dba5c449e12fea0db4d2;hpb=b0a676988a8da3120e64ef0e1a4ea4c28b1511e1 diff --git a/src/logging.h b/lib/logging.h similarity index 96% rename from src/logging.h rename to lib/logging.h index fa6accb7..60a48aa1 100644 --- a/src/logging.h +++ b/lib/logging.h @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: logging.h,v 1.7 2002/04/13 11:00:41 zarq Exp $ + $Id: logging.h,v 1.1 2002/04/28 12:46:25 zarq Exp $ */ #ifndef __TINC_LOGGING_H__ @@ -67,6 +67,8 @@ extern void tinc_syslog(int, char *, ...); #define LOG_NOTICE 5 /* normal but significant condition */ #define LOG_INFO 6 /* informational */ #define LOG_DEBUG 7 /* debug-level messages */ +#else +# warning dont include syslog! #endif #endif /* __TINC_LOGGING_H__ */