X-Git-Url: https://git.xinqibao.xyz/slstatus.git/blobdiff_plain/d3d8b8ee03a773b7f2cd1aad16ee43d9784e5139..1654efe1d67d0bec010792e8c6eb64a0f8e88a58:/concat.h diff --git a/concat.h b/concat.h deleted file mode 100644 index 9f138d7..0000000 --- a/concat.h +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Thanks to lloyd for contribution - */ - -extern char concat[4096]; - -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; -}