[Openvas-commits] r5649 - in trunk/openvas-libraries: . misc

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Oct 20 16:43:58 CEST 2009


Author: jan
Date: 2009-10-20 16:43:56 +0200 (Tue, 20 Oct 2009)
New Revision: 5649

Modified:
   trunk/openvas-libraries/ChangeLog
   trunk/openvas-libraries/misc/comm.h
   trunk/openvas-libraries/misc/ntp.h
Log:
* misc/comm.h: Adjusted proto for comm_init.

* misc/ntp.h: Removed struct ntp_caps. 



Modified: trunk/openvas-libraries/ChangeLog
===================================================================
--- trunk/openvas-libraries/ChangeLog	2009-10-20 14:42:55 UTC (rev 5648)
+++ trunk/openvas-libraries/ChangeLog	2009-10-20 14:43:56 UTC (rev 5649)
@@ -1,3 +1,9 @@
+2009-10-20  Jan-Oliver Wagner <jan-oliver.wagner at greenbone.net>
+
+	* misc/comm.h: Adjusted proto for comm_init.
+
+	* misc/ntp.h: Removed struct ntp_caps. 
+
 2009-10-20  Felix Wolfsteller <felix.wolfsteller at intevation.de>
 
 	Fixed some FIXMEs about response checking.

Modified: trunk/openvas-libraries/misc/comm.h
===================================================================
--- trunk/openvas-libraries/misc/comm.h	2009-10-20 14:42:55 UTC (rev 5648)
+++ trunk/openvas-libraries/misc/comm.h	2009-10-20 14:43:56 UTC (rev 5649)
@@ -20,9 +20,8 @@
 #define _OPENVAS_COMM_H
 
 #include "arglists.h"
-#include "ntp.h"
 
-ntp_caps* comm_init(int);
+int comm_init(int);
 void comm_terminate(struct arglist *);
 void comm_send_pluginlist(struct arglist *);
 void comm_send_preferences(struct arglist *);

Modified: trunk/openvas-libraries/misc/ntp.h
===================================================================
--- trunk/openvas-libraries/misc/ntp.h	2009-10-20 14:42:55 UTC (rev 5648)
+++ trunk/openvas-libraries/misc/ntp.h	2009-10-20 14:43:56 UTC (rev 5649)
@@ -23,13 +23,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#ifndef _OPENVAS_NTP_H
-#define _OPENVAS_NTP_H
+#ifndef _OPENVAS_OTP_H
+#define _OPENVAS_OTP_H
 
 #define OTP_10 100  /* OTP/1.0 */
 
-typedef struct {
-  int ntp_version; /*  NTP_VERSION, as defined in ntp.h */
-} ntp_caps;
-
 #endif



More information about the Openvas-commits mailing list