diff options
Diffstat (limited to 'src/cpulimit.c')
-rw-r--r-- | src/cpulimit.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/cpulimit.c b/src/cpulimit.c index 300d320..6126c6b 100644 --- a/src/cpulimit.c +++ b/src/cpulimit.c @@ -99,23 +99,6 @@ int verbose = 0; //lazy mode (exits if there is no process) int lazy = 0; -static void *memrchr(const void *s, int c, size_t n) -{ - const unsigned char *start = (const unsigned char*)s; - const unsigned char *end = (const unsigned char*)s; - - end+=n-1; - - while(end>=start) { - if(*end==c) - return (void *)end; - else - end--; - } - - return NULL; -} - //SIGINT and SIGTERM signal handler static void quit(int sig) { |