[Openvas-commits] r549 - in trunk/openvas-libnasl: . nasl

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Nov 16 00:05:22 CET 2007


Author: jan
Date: 2007-11-16 00:05:21 +0100 (Fri, 16 Nov 2007)
New Revision: 549

Modified:
   trunk/openvas-libnasl/ChangeLog
   trunk/openvas-libnasl/nasl/preparse.c
Log:
* nasl/preparse.c: naslparse should be put outside of the
ifdef, will fix an undefined reference warning.
Thanks to Hanno Boeck for this patch.


Modified: trunk/openvas-libnasl/ChangeLog
===================================================================
--- trunk/openvas-libnasl/ChangeLog	2007-11-14 17:35:25 UTC (rev 548)
+++ trunk/openvas-libnasl/ChangeLog	2007-11-15 23:05:21 UTC (rev 549)
@@ -1,3 +1,9 @@
+2007-11-15  Jan-Oliver Wagner <jan-oliver.wagner at intevation.de>
+
+	* nasl/preparse.c: naslparse should be put outside of the
+	ifdef, will fix an undefined reference warning.
+	Thanks to Hanno Böck for this patch.
+
 2007-11-06  Jan-Oliver Wagner <jan-oliver.wagner at intevation.de>
 
 	* nasl/nasl_host.c: Added missing include (thanks to Hanno Böck)

Modified: trunk/openvas-libnasl/nasl/preparse.c
===================================================================
--- trunk/openvas-libnasl/nasl/preparse.c	2007-11-14 17:35:25 UTC (rev 548)
+++ trunk/openvas-libnasl/nasl/preparse.c	2007-11-15 23:05:21 UTC (rev 549)
@@ -27,11 +27,10 @@
 #include "nasl_regex.h"
 #include "nasl_debug.h"
 
+extern int naslparse( naslctxt * );
 
 #ifdef ENABLE_PLUGIN_SERVER
-extern int naslparse( naslctxt * );
 
- 	
 /*---------------------------------------------------------------------------*/
 struct fd_ctx {
 	char * buf;



More information about the Openvas-commits mailing list