From ce8ee8d9b401c9c2828df3457815c2f4ceed4900 Mon Sep 17 00:00:00 2001 From: David McCullough Date: Wed, 11 Jul 2001 13:47:45 +0000 Subject: Added __BEGIN_DECLS and __END_DECLS to the files that didn't have it and that I could see needed it. Should be pretty low impact as these are only defined when using C++. --- include/string.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include/string.h') diff --git a/include/string.h b/include/string.h index 939b1a4b5..7122b7959 100644 --- a/include/string.h +++ b/include/string.h @@ -5,6 +5,7 @@ #include #include +__BEGIN_DECLS /* Basic string functions */ /* Return the length of S. */ @@ -117,7 +118,7 @@ extern size_t strspn __P ((__const char *__s, __const char *__accept)); extern char *strsignal __P ((int __sig)); /* More BSD compatabilty */ -int bcmp(const void *s1, const void *s2, size_t n); +extern int bcmp(const void *s1, const void *s2, size_t n); /* Linux silly hour */ char *strfry __P ((char *)); @@ -147,4 +148,6 @@ extern size_t strnlen __P ((__const char *__string, size_t __maxlen)); (char *) memcpy (__new, __old, __len); \ })) +__END_DECLS + #endif -- cgit v1.2.3