diff options
Diffstat (limited to 'src/system.c')
-rw-r--r-- | src/system.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/system.c b/src/system.c index ffb8c4a..cff4f54 100644 --- a/src/system.c +++ b/src/system.c @@ -1,6 +1,11 @@ #include "sys/ioctl.h" #include "errno.h" +#include "stdarg.h" +#include "stdio.h" +#include "unistd.h" +#include "string.h" + #include "types.h" @@ -15,15 +20,15 @@ err e33_ioctl( Size fd, unsigned long req, void *arg ) return ret; } -boolean _strcomp( String s1, String s2 ) +boolean strcomp( String s1, String s2 ) { while( (*s1 != '\0') && (*s2 != '\0') ) { if( (*s1++) != (*s2++) ) { - return E33_EXIT_SUCCESS; + return E33_FALSE; } } - return E33_EXIT_FAILURE; + return E33_TRUE; } |