summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2011-03-16 03:13:37 +0000
committerguenther <guenther@openbsd.org>2011-03-16 03:13:37 +0000
commite389bcb32c3e125ee5093e0685ae7887a7728757 (patch)
treec5b3e412511ec59532522fe1efd76ddde2e587cc /lib/libc
parentsync (diff)
downloadwireguard-openbsd-e389bcb32c3e125ee5093e0685ae7887a7728757.tar.xz
wireguard-openbsd-e389bcb32c3e125ee5093e0685ae7887a7728757.zip
nl_types.h doesn't need to be #included to use nl_langinfo(). Pointed
out by Andres Perera (andres.p at zoho.com)
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/locale/nl_langinfo.35
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libc/locale/nl_langinfo.3 b/lib/libc/locale/nl_langinfo.3
index ed64b1aae73..5d387e837a7 100644
--- a/lib/libc/locale/nl_langinfo.3
+++ b/lib/libc/locale/nl_langinfo.3
@@ -1,16 +1,15 @@
-.\" $OpenBSD: nl_langinfo.3,v 1.7 2007/05/31 19:19:29 jmc Exp $
+.\" $OpenBSD: nl_langinfo.3,v 1.8 2011/03/16 03:13:37 guenther Exp $
.\"
.\" Written by J.T. Conklin <jtc@netbsd.org>.
.\" Public domain.
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: March 16 2011 $
.Dt NL_LANGINFO 3
.Os
.Sh NAME
.Nm nl_langinfo
.Nd get locale information
.Sh SYNOPSIS
-.Fd #include <nl_types.h>
.Fd #include <langinfo.h>
.Ft char *
.Fn nl_langinfo "nl_item item"