Initial Windows port

This commit is contained in:
Asanka Herath
2009-07-22 15:55:45 -04:00
committed by Love Hornquist Astrand
parent 25a2ac726b
commit b1063ea8fc
361 changed files with 11994 additions and 1334 deletions

View File

@@ -33,14 +33,9 @@
#include <config.h>
#include <stdio.h>
#include <sys/types.h>
#include <unistd.h>
#include "roken.h"
#include "roken.h"
char * ROKEN_LIB_FUNCTION
ROKEN_LIB_FUNCTION char * ROKEN_LIB_CALL
pid_file_write (const char *progname)
{
FILE *fp;
@@ -59,7 +54,7 @@ pid_file_write (const char *progname)
return ret;
}
void ROKEN_LIB_FUNCTION
ROKEN_LIB_FUNCTION void ROKEN_LIB_CALL
pid_file_delete (char **filename)
{
if (*filename != NULL) {
@@ -79,7 +74,7 @@ pidfile_cleanup(void)
pid_file_delete(&pidfile_path);
}
void
ROKEN_LIB_FUNCTION void ROKEN_LIB_CALL
pidfile(const char *basename)
{
if(pidfile_path != NULL)