Add missing prototypes and includes

This commit is contained in:
Nils O. Selåsdal
2014-10-26 14:27:26 +01:00
parent 9bd1336d26
commit fe3e4d8e3c
5 changed files with 13 additions and 0 deletions
+2
View File
@@ -1,3 +1,5 @@
#include "ucore/hash.h"
unsigned long
uc_sdbmhash(const unsigned char *str)
{
+1
View File
@@ -1,4 +1,5 @@
#include <string.h>
#include "ucore/string.h"
size_t uc_strlcpy(char *restrict dst, const char *restrict src, size_t max)
{
+1
View File
@@ -8,6 +8,7 @@
#include <errno.h>
#include <string.h>
#include <limits.h>
#include "ucore/supervisor.h"
#define CLEAN_EXIT 11