diff options
author | Aaron Marcher <info@nulltime.net> | 2017-01-07 22:01:49 +0100 |
---|---|---|
committer | Aaron Marcher <info@nulltime.net> | 2017-01-07 22:01:49 +0100 |
commit | 1a9ac9518bf3ad0189bc2992fef5ae3e2896d4d9 (patch) | |
tree | b1efe7f0b5f550e75d0f9ba139beb8103f5187c0 /extern/concat.h | |
parent | 83875ca313a5054edd0e442def19ca7a95900e2c (diff) |
got rid of concat.h
Diffstat (limited to 'extern/concat.h')
-rw-r--r-- | extern/concat.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/extern/concat.h b/extern/concat.h deleted file mode 100644 index 0f3be99..0000000 --- a/extern/concat.h +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Thanks to lloyd for contribution - */ - -extern char concat[8192]; - -extern void -ccat(const unsigned short int count, ...) -{ - va_list ap; - unsigned short int i; - concat[0] = '\0'; - - if (count == 0) - return; - - va_start(ap, count); - for(i = 0; i < count; i++) - strlcat(concat, va_arg(ap, char *), sizeof(concat)); - va_end(ap); - return; -} |