[git commit future 1/1] bcopy.c, bzero.c: include string.h instead of _string.h

Khem Raj raj.khem at gmail.com
Sat Mar 19 18:51:25 UTC 2011


commit: http://git.uclibc.org/uClibc/commit/?id=6d11190243577bd43c95e4f5df5ae4383d756ae5
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/future

No need for internal _string.h.
For now include string.h, although the correct header would be strings.h.

Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
---
 libc/string/bcopy.c |    4 +---
 libc/string/bzero.c |    2 +-
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/libc/string/bcopy.c b/libc/string/bcopy.c
index 6234fd8..e16ba24 100644
--- a/libc/string/bcopy.c
+++ b/libc/string/bcopy.c
@@ -5,11 +5,9 @@
  * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  */
 
-#include "_string.h"
+#include <string.h>
 
 #ifdef __UCLIBC_SUSV3_LEGACY__
-
-
 void bcopy(const void *s2, void *s1, size_t n)
 {
 #if 1
diff --git a/libc/string/bzero.c b/libc/string/bzero.c
index a541f36..32dce41 100644
--- a/libc/string/bzero.c
+++ b/libc/string/bzero.c
@@ -5,7 +5,7 @@
  * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  */
 
-#include "_string.h"
+#include <string.h>
 
 #ifdef __UCLIBC_SUSV3_LEGACY__
 void bzero(void *s, size_t n)
-- 
1.7.3.4



More information about the uClibc-cvs mailing list