fixup strsep and windows event assignment.

git-svn-id: file:///svn/unbound/trunk@3739 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2016-05-31 12:37:42 +00:00
parent 8072ea6930
commit 41b78b263d
2 changed files with 3 additions and 3 deletions

View File

@ -35,7 +35,7 @@
static int
in_delim(char c, const char* delim)
{
char* p;
const char* p;
if(!delim)
return 0;
for(p=delim; *p; p++) {
@ -59,7 +59,7 @@ char *strsep(char **stringp, const char *delim)
*s = 0;
*stringp = s+1;
} else {
*stringp = s;
*stringp = NULL;
}
return orig;
}

View File

@ -60,7 +60,7 @@ static SERVICE_STATUS_HANDLE service_status_handle;
/** global service stop event */
static WSAEVENT service_stop_event = NULL;
/** event struct for stop callbacks */
static struct event* service_stop_ev = NULL;
static struct ub_event* service_stop_ev = NULL;
/** if stop even means shutdown or restart */
static int service_stop_shutdown = 0;
/** config file to open. global communication to service_main() */