strbuf.c (f26e8817b235d8764363bffcc9cbfc61867371f2) | strbuf.c (a43783aeec5fac8ef372ff8c0a5bbb3056fc0604) |
---|---|
1#include "debug.h" 2#include "util.h" 3#include <linux/kernel.h> | 1#include "debug.h" 2#include "util.h" 3#include <linux/kernel.h> |
4#include <errno.h> |
|
4 5int prefixcmp(const char *str, const char *prefix) 6{ 7 for (; ; str++, prefix++) 8 if (!*prefix) 9 return 0; 10 else if (*str != *prefix) 11 return (unsigned char)*prefix - (unsigned char)*str; --- 155 unchanged lines hidden --- | 5 6int prefixcmp(const char *str, const char *prefix) 7{ 8 for (; ; str++, prefix++) 9 if (!*prefix) 10 return 0; 11 else if (*str != *prefix) 12 return (unsigned char)*prefix - (unsigned char)*str; --- 155 unchanged lines hidden --- |