diff options
author | Brian Cully <bjc@kublai.com> | 2008-04-14 21:54:00 -0400 |
---|---|---|
committer | Brian Cully <github.20.shmit@spamgourmet.com> | 2008-04-14 21:54:00 -0400 |
commit | 79d65188b1c1578a36403c0e5756c81dcc93d816 (patch) | |
tree | 2903ed400cd0ebd13350397d402c1d9d5b9f869d /common/.svn/text-base/compat.c.svn-base | |
parent | 6ba98a9f9f48e13738d9736cba9c45b5e94f42f2 (diff) | |
download | nastd-79d65188b1c1578a36403c0e5756c81dcc93d816.tar.gz nastd-79d65188b1c1578a36403c0e5756c81dcc93d816.zip |
Remove svn files
Diffstat (limited to 'common/.svn/text-base/compat.c.svn-base')
-rw-r--r-- | common/.svn/text-base/compat.c.svn-base | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/common/.svn/text-base/compat.c.svn-base b/common/.svn/text-base/compat.c.svn-base deleted file mode 100644 index 98fb1a1..0000000 --- a/common/.svn/text-base/compat.c.svn-base +++ /dev/null @@ -1,55 +0,0 @@ -#include "compat.h" - -#include <stdarg.h> -#include <stdio.h> -#include <sys/types.h> - -RCSID("$Id: compat.c,v 1.1 2000/03/07 22:39:27 shmit Exp $"); - -#if NEED_SETPROCTITLE -void -setproctitle(const char *fmt, ...) -{ -} -#endif - -#if NEED_SNPRINTF -int -snprintf(char *str, size_t size, const char *fmt, ...) -{ - va_list ap; - int rc; - - va_start(ap, fmt); - rc = vsprintf(str, fmt, ap); - va_end(ap); - - return rc; -} -#endif - -#if NEED_MEMCPY -void * -memcpy(void *dst, const void *src, size_t len) -{ - size_t i; - - for (i = 0; i < len; i++) - (char *)dst+i = (char *)src+i; - - return dst; -} -#endif - -#if NEED_MEMSET -void * -memset(void *dst, char c, size_t len) -{ - size_t i; - - for (i = 0; i < len; i++) - (char *)dst+i = (char *)src+i; - - return dst; -} -#endif |