diff minijss/jss.h @ 1133:2af228303727

#ifdef out code that is not needed or used if JSS_LIGHT is defined.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 04 Mar 2015 07:16:06 +0200
parents c430112449a7
children d0898867ec4c
line wrap: on
line diff
--- a/minijss/jss.h	Wed Mar 04 07:00:27 2015 +0200
+++ b/minijss/jss.h	Wed Mar 04 07:16:06 2015 +0200
@@ -71,10 +71,10 @@
 
 /* Error handling routines and related variables
  */
+#ifndef JSS_LIGHT
 extern BOOL     jssWarningIsFatal,  // if TRUE, warnings are considered fatal -> function returns
                 jssErrorIsFatal;    // if FALSE, error is considered non-fatal. this may cause strange problems.
 
-#ifndef JSS_LIGHT
 extern void     (*jssError)(int code, const char *filename, int linen, const char *fmt, ...);
 extern void     (*jssWarning)(int code, const char *filename, int linen, const char *fmt, ...);
 #endif