Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/locale add #include <string.h> for memset().



details:   https://anonhg.NetBSD.org/src/rev/068f515411be
branches:  trunk
changeset: 543800:068f515411be
user:      tshiozak <tshiozak%NetBSD.org@localhost>
date:      Tue Mar 04 10:35:31 2003 +0000

description:
add #include <string.h> for memset().

diffstat:

 lib/libc/locale/btowc.c |  5 +++--
 lib/libc/locale/wctob.c |  5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diffs (52 lines):

diff -r 83580c750820 -r 068f515411be lib/libc/locale/btowc.c
--- a/lib/libc/locale/btowc.c   Tue Mar 04 08:49:15 2003 +0000
+++ b/lib/libc/locale/btowc.c   Tue Mar 04 10:35:31 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: btowc.c,v 1.2 2003/03/03 07:39:54 tshiozak Exp $       */
+/*     $NetBSD: btowc.c,v 1.3 2003/03/04 10:35:31 tshiozak Exp $       */
 
 /*-
  * Copyright (c)2003 Citrus Project,
@@ -28,7 +28,7 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: btowc.c,v 1.2 2003/03/03 07:39:54 tshiozak Exp $");
+__RCSID("$NetBSD: btowc.c,v 1.3 2003/03/04 10:35:31 tshiozak Exp $");
 #endif /* LIBC_SCCS and not lint */
 
 #include "namespace.h"
@@ -36,6 +36,7 @@
 #include <assert.h>
 #include <wchar.h>
 #include <stdio.h>
+#include <string.h>
 
 /*
  * convert a single byte character to a corresponding wide character.
diff -r 83580c750820 -r 068f515411be lib/libc/locale/wctob.c
--- a/lib/libc/locale/wctob.c   Tue Mar 04 08:49:15 2003 +0000
+++ b/lib/libc/locale/wctob.c   Tue Mar 04 10:35:31 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wctob.c,v 1.2 2003/03/03 08:25:00 tshiozak Exp $       */
+/*     $NetBSD: wctob.c,v 1.3 2003/03/04 10:35:31 tshiozak Exp $       */
 
 /*-
  * Copyright (c)2003 Citrus Project,
@@ -28,7 +28,7 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: wctob.c,v 1.2 2003/03/03 08:25:00 tshiozak Exp $");
+__RCSID("$NetBSD: wctob.c,v 1.3 2003/03/04 10:35:31 tshiozak Exp $");
 #endif /* LIBC_SCCS and not lint */
 
 #include "namespace.h"
@@ -37,6 +37,7 @@
 #include <wchar.h>
 #include <stdio.h>
 #include <limits.h>
+#include <string.h>
 
 /*
  * convert a wide character to a corresponding single byte character.



Home | Main Index | Thread Index | Old Index