From 378170280f91e521a8c54b32f729ee2b868cf1f5 Mon Sep 17 00:00:00 2001 From: Douglas Clowes Date: Fri, 29 Aug 2014 16:32:32 +1000 Subject: [PATCH] Make nwatch independent of SICS --- nwatch.c | 4 ++-- nwatch.h | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/nwatch.c b/nwatch.c index 54ab513f..abd41bd6 100644 --- a/nwatch.c +++ b/nwatch.c @@ -18,7 +18,6 @@ #include #include "fortify.h" #include "nwatch.h" -#include "sics.h" #include "uselect.h" #define NWMAGIC 51966 @@ -363,7 +362,8 @@ int NetWatchSetMode(pNWContext handle, int mode) } /** - * \brief the registered SICS Task to drive all this + * \brief the task to drive all this + * Should be called periodically */ int NetWatchTask(void *pData) { diff --git a/nwatch.h b/nwatch.h index 3dae42f8..1df2b656 100644 --- a/nwatch.h +++ b/nwatch.h @@ -1,5 +1,5 @@ /* - * N E T W A T C H E R + * N E T W A T C H * * This module watches network connections for sockets becoming readable or * writeable and invokes callbacks. It also provides a timer mechanism. @@ -7,8 +7,8 @@ * Douglas Clowes, February 2007 * */ -#ifndef SICSNETWATCHER -#define SICSNETWATCHER +#ifndef NETWATCH_H +#define NETWATCH_H #define nwatch_read 1 #define nwatch_write 2 @@ -107,4 +107,4 @@ int NetWatchGetMode(pNWContext handle); */ int NetWatchSetMode(pNWContext handle, int mode); -#endif /* SICSNETWATCHER */ +#endif /* NETWATCH_H */