diff options
Diffstat (limited to 'lcc/include/alpha/osf/string.h')
-rwxr-xr-x | lcc/include/alpha/osf/string.h | 70 |
1 files changed, 35 insertions, 35 deletions
diff --git a/lcc/include/alpha/osf/string.h b/lcc/include/alpha/osf/string.h index f19b1e4..8432820 100755 --- a/lcc/include/alpha/osf/string.h +++ b/lcc/include/alpha/osf/string.h @@ -1,35 +1,35 @@ -#ifndef __STRING
-#define __STRING
-
-#define NULL 0
-
-#if !defined(_SIZE_T) && !defined(_SIZE_T_)
-#define _SIZE_T
-#define _SIZE_T_
-typedef unsigned long size_t;
-#endif
-
-void *memcpy(void *, const void *, size_t);
-void *memmove(void *, const void *, size_t);
-char *strcpy(char *, const char *);
-char *strncpy(char *, const char *, size_t);
-char *strcat(char *, const char *);
-char *strncat(char *, const char *, size_t);
-int memcmp(const void *, const void *, size_t);
-int strcmp(const char *, const char *);
-int strcoll(const char *, const char *);
-int strncmp(const char *, const char *, size_t);
-size_t strxfrm(char *, const char *, size_t);
-void *memchr(const void *, int, size_t);
-char *strchr(const char *, int);
-size_t strcspn(const char *, const char *);
-char *strpbrk(const char *, const char *);
-char *strrchr(const char *, int);
-size_t strspn(const char *, const char *);
-char *strstr(const char *, const char *);
-char *strtok(char *, const char *);
-void *memset(void *, int, size_t);
-char *strerror(int);
-size_t strlen(const char *);
-
-#endif /* __STRING */
+#ifndef __STRING +#define __STRING + +#define NULL 0 + +#if !defined(_SIZE_T) && !defined(_SIZE_T_) +#define _SIZE_T +#define _SIZE_T_ +typedef unsigned long size_t; +#endif + +void *memcpy(void *, const void *, size_t); +void *memmove(void *, const void *, size_t); +char *strcpy(char *, const char *); +char *strncpy(char *, const char *, size_t); +char *strcat(char *, const char *); +char *strncat(char *, const char *, size_t); +int memcmp(const void *, const void *, size_t); +int strcmp(const char *, const char *); +int strcoll(const char *, const char *); +int strncmp(const char *, const char *, size_t); +size_t strxfrm(char *, const char *, size_t); +void *memchr(const void *, int, size_t); +char *strchr(const char *, int); +size_t strcspn(const char *, const char *); +char *strpbrk(const char *, const char *); +char *strrchr(const char *, int); +size_t strspn(const char *, const char *); +char *strstr(const char *, const char *); +char *strtok(char *, const char *); +void *memset(void *, int, size_t); +char *strerror(int); +size_t strlen(const char *); + +#endif /* __STRING */ |