]> Joshua Wise's Git repositories - netwatch.git/blobdiff - include/minilib.h
add htons
[netwatch.git] / include / minilib.h
index aa8bf7364d16220e854c019518178fd0479060b0..90abfc93dd9039f4cd08cc2d7b624001fc96fb2d 100644 (file)
@@ -3,7 +3,7 @@
 
 #include <stdarg.h>
 
-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
This page took 0.021565 seconds and 4 git commands to generate.