From 5707ecbf9c770363c467b3736f53ba1647a3efde Mon Sep 17 00:00:00 2001 From: "git@daemon.de" Date: Wed, 5 Feb 2014 13:08:34 +0100 Subject: [PATCH] added a generic _dump() function and put functions into its own C file... --- include/pcp/util.h | 43 +++++------------------------ libpcp/util.c | 68 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 75 insertions(+), 36 deletions(-) create mode 100644 libpcp/util.c diff --git a/include/pcp/util.h b/include/pcp/util.h index b8dce58..42c7cc0 100644 --- a/include/pcp/util.h +++ b/include/pcp/util.h @@ -27,42 +27,13 @@ #include #include +#include +#include +#include -// lowercase a string -static inline char *_lc(char *in) { - size_t len = strlen(in); - size_t i; - for(i=0; i. + + You can contact me by mail: . +*/ + +#include "util.h" + +/* lowercase a string */ +char *_lc(char *in) { + size_t len = strlen(in); + size_t i; + for(i=0; i