add #include <string.h> for memset().
This commit is contained in:
parent
76c65c8cdb
commit
ca7b6ea6df
|
@ -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 @@ __RCSID("$NetBSD: btowc.c,v 1.2 2003/03/03 07:39:54 tshiozak Exp $");
|
|||
#include <assert.h>
|
||||
#include <wchar.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
/*
|
||||
* convert a single byte character to a corresponding wide character.
|
||||
|
|
|
@ -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 @@ __RCSID("$NetBSD: wctob.c,v 1.2 2003/03/03 08:25:00 tshiozak Exp $");
|
|||
#include <wchar.h>
|
||||
#include <stdio.h>
|
||||
#include <limits.h>
|
||||
#include <string.h>
|
||||
|
||||
/*
|
||||
* convert a wide character to a corresponding single byte character.
|
||||
|
|
Loading…
Reference in New Issue