moved headers to extern
This commit is contained in:
parent
d73118eaa4
commit
37959ca569
5 changed files with 4 additions and 4 deletions
19
extern/concat.h
vendored
Normal file
19
extern/concat.h
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
/*
|
||||
* 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;
|
||||
}
|
||||
Loading…
Reference in a new issue