Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/citrus Include namespace.h in citrus/citrus_lc_ctype.c



details:   https://anonhg.NetBSD.org/src/rev/bf61b60e2bbb
branches:  trunk
changeset: 828822:bf61b60e2bbb
user:      kamil <kamil%NetBSD.org@localhost>
date:      Fri Jan 05 17:52:06 2018 +0000

description:
Include namespace.h in citrus/citrus_lc_ctype.c

The NetBSD Standard C Library uses internally some of its functions with
a mangled symbol name, usually "_symbol". The internal functions shall not
use the global (public) symbols.

This change eliminates usage of the global name of the following symbol:
  - strlcpy -> _strlcpy

Sponsored by <The NetBSD Foundation>

diffstat:

 lib/libc/citrus/citrus_lc_ctype.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 0e8a7eb0259b -r bf61b60e2bbb lib/libc/citrus/citrus_lc_ctype.c
--- a/lib/libc/citrus/citrus_lc_ctype.c Fri Jan 05 14:22:26 2018 +0000
+++ b/lib/libc/citrus/citrus_lc_ctype.c Fri Jan 05 17:52:06 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: citrus_lc_ctype.c,v 1.15 2013/09/13 13:13:32 joerg Exp $ */
+/* $NetBSD: citrus_lc_ctype.c,v 1.16 2018/01/05 17:52:06 kamil Exp $ */
 
 /*-
  * Copyright (c)2008 Citrus Project,
@@ -28,9 +28,10 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: citrus_lc_ctype.c,v 1.15 2013/09/13 13:13:32 joerg Exp $");
+__RCSID("$NetBSD: citrus_lc_ctype.c,v 1.16 2018/01/05 17:52:06 kamil Exp $");
 #endif /* LIBC_SCCS and not lint */
 
+#include "namespace.h"
 #include "reentrant.h"
 #include <sys/types.h>
 #include <sys/ctype_bits.h>



Home | Main Index | Thread Index | Old Index