X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/a9d1719cd11f54eaa60e5206f220212b771caf7c..c61d5f405f2f7fcdcc0a883e18ae7873f4fcd9d7:/include/minilib.h?ds=inline diff --git a/include/minilib.h b/include/minilib.h index aa8bf73..90abfc9 100644 --- a/include/minilib.h +++ b/include/minilib.h @@ -3,7 +3,7 @@ #include -extern void memcpy(void *dest, void *src, int bytes); +extern void memcpy(void *dest, const void *src, int bytes); extern void memmove(void *dest, void *src, int bytes); extern int memcmp(const char *a2, const char *a1, int bytes); extern int strcmp(const char *a2, const char *a1); @@ -16,5 +16,6 @@ extern int vsprintf(char *s, const char *fmt, va_list args); extern int vsnprintf(char *s, int size, const char *fmt, va_list args); extern int sprintf(char *s, const char *fmt, ...); extern int snprintf(char *s, int size, const char *fmt, ...); +extern unsigned short htons(unsigned short in); #endif