Author: jan
Date: 2007-08-02 23:19:46 +0200 (Thu, 02 Aug 2007)
New Revision: 359

Modified:
   trunk/openvas-libraries/ChangeLog
   trunk/openvas-libraries/libopenvas_hg/Makefile
   trunk/openvas-libraries/libopenvas_hg/hosts_gatherer.h
   trunk/openvas-libraries/libopenvas_hg/test.c
Log:
* libopenvas_hg/Makefile: Fix dependencies for target test.

* libopenvas_hg/hosts_gatherer.h: Add missing proto
for hg_test_syntax().

* libopenvas_hg/test.c (main): Fix return type.



Modified: trunk/openvas-libraries/ChangeLog
===================================================================
--- trunk/openvas-libraries/ChangeLog   2007-08-02 20:51:32 UTC (rev 358)
+++ trunk/openvas-libraries/ChangeLog   2007-08-02 21:19:46 UTC (rev 359)
@@ -1,5 +1,14 @@
 2007-08-02  Jan-Oliver Wagner <[EMAIL PROTECTED]>
 
+       * libopenvas_hg/Makefile: Fix dependencies for target test.
+
+       * libopenvas_hg/hosts_gatherer.h: Add missing proto
+       for hg_test_syntax().
+
+       * libopenvas_hg/test.c (main): Fix return type.
+
+2007-08-02  Jan-Oliver Wagner <[EMAIL PROTECTED]>
+
        * VERSION: bumped to 0.9.1.SVN
 
        * CHANGES: updated.

Modified: trunk/openvas-libraries/libopenvas_hg/Makefile
===================================================================
--- trunk/openvas-libraries/libopenvas_hg/Makefile      2007-08-02 20:51:32 UTC 
(rev 358)
+++ trunk/openvas-libraries/libopenvas_hg/Makefile      2007-08-02 21:19:46 UTC 
(rev 359)
@@ -36,7 +36,7 @@
 
 all : libopenvas_hg.la
 
-test : libopenvas_hg.la
+test : libopenvas_hg.la test.c
        $(COMPILE)  test.c -o test -L.libs -lopenvas_hg $(LIBS)
 
 install : libopenvas_hg.la

Modified: trunk/openvas-libraries/libopenvas_hg/hosts_gatherer.h
===================================================================
--- trunk/openvas-libraries/libopenvas_hg/hosts_gatherer.h      2007-08-02 
20:51:32 UTC (rev 358)
+++ trunk/openvas-libraries/libopenvas_hg/hosts_gatherer.h      2007-08-02 
21:19:46 UTC (rev 359)
@@ -50,4 +50,6 @@
 struct hg_globals * hg_init(char *, int);
 int hg_next_host(struct hg_globals *, struct in_addr *, char *, int);
 void   hg_cleanup  (struct hg_globals *);
+
+int hg_test_syntax(char * hostname, int flags);
 #endif

Modified: trunk/openvas-libraries/libopenvas_hg/test.c
===================================================================
--- trunk/openvas-libraries/libopenvas_hg/test.c        2007-08-02 20:51:32 UTC 
(rev 358)
+++ trunk/openvas-libraries/libopenvas_hg/test.c        2007-08-02 21:19:46 UTC 
(rev 359)
@@ -13,7 +13,7 @@
  *
  */
 extern int optind;
-void main(int argc, char * argv[])
+int main(int argc, char * argv[])
 {
  struct hg_globals * globals;
  char m[1024];
@@ -55,4 +55,6 @@
   e = hg_next_host(globals,&ip, m, sizeof(m));
  }
  hg_cleanup(globals);
+
+ return 0;
 }

_______________________________________________
Openvas-commits mailing list
[email protected]
http://lists.wald.intevation.org/mailman/listinfo/openvas-commits

Reply via email to