X-Git-Url: https://git.xinqibao.xyz/slstatus.git/blobdiff_plain/d73118eaa47a9c4ea9ac9860b3d8b6e4c7c388dc..37959ca569a4bf69c6c1bbb16991cfc6d8452970:/concat.h diff --git a/concat.h b/concat.h deleted file mode 100644 index 7f2ea46..0000000 --- a/concat.h +++ /dev/null @@ -1,19 +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'; - - va_start(ap, count); - for(i = 0; i < count; i++) - strlcat(concat, va_arg(ap, char *), sizeof(concat)); - va_end(ap); - return; -}