From f9d771b678a824c8565c1bb9cd9127b8194b910c Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Tue, 7 Dec 2010 20:28:34 -0500 Subject: Fixed "function declaration is not a prototype" warning --- include/netnuke.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/netnuke.h b/include/netnuke.h index ee39a13..5ce8b46 100644 --- a/include/netnuke.h +++ b/include/netnuke.h @@ -49,14 +49,14 @@ typedef struct nndevice_t void ignore_device(char** list, nndevice_t** d); int strind(const char* str, const char ch); -int nnlogcleanup(); +int nnlogcleanup(void); int COM(const char* func, char *format, ...); void* wipe(void* device); pthread_t nnthread(nndevice_t* device); int nnwrite(int fd, int bsize); -void nnrandinit(); -void nnrandfree(); -unsigned int nngetseed(); +void nnrandinit(void); +void nnrandfree(void); +unsigned int nngetseed(void); unsigned int nnrand(int min, int max); char* randstr(int size); int scanbus_sysfs(nndevice_t** device); -- cgit