summaryrefslogtreecommitdiffstats
path: root/include/langinfo.h
diff options
context:
space:
mode:
authorphantom <phantom@FreeBSD.org>2001-12-12 15:41:08 +0000
committerphantom <phantom@FreeBSD.org>2001-12-12 15:41:08 +0000
commite3e97d513ff013965e1cb64422f1f1e699f6de8c (patch)
tree6efe628ce6aeeaa606b1426697eb29f6f15af82f /include/langinfo.h
parent37259b58339d22167abc7becf2bc457a59463ba1 (diff)
downloadFreeBSD-src-e3e97d513ff013965e1cb64422f1f1e699f6de8c.zip
FreeBSD-src-e3e97d513ff013965e1cb64422f1f1e699f6de8c.tar.gz
* style(9)'ify
* add K&R support to langinfo.h Requested by: bde (2)
Diffstat (limited to 'include/langinfo.h')
-rw-r--r--include/langinfo.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/langinfo.h b/include/langinfo.h
index b1fea32..25e88b6 100644
--- a/include/langinfo.h
+++ b/include/langinfo.h
@@ -1,4 +1,4 @@
-/*
+/*-
* Copyright (c) 2001 Alexey Zelkin <phantom@FreeBSD.org>
* All rights reserved.
*
@@ -26,8 +26,8 @@
* $FreeBSD$
*/
-#ifndef _LANGINFO_H
-#define _LANGINFO_H
+#ifndef _LANGINFO_H_
+#define _LANGINFO_H_
#include <sys/cdefs.h>
#include <nl_types.h>
@@ -105,7 +105,7 @@
#define D_MD_ORDER 57 /* month/day order (local extension) */
__BEGIN_DECLS
-char *nl_langinfo(nl_item);
+char *nl_langinfo __P((nl_item));
__END_DECLS
-#endif /* _LANGINFO_H */
+#endif /* !_LANGINFO_H_ */
OpenPOWER on IntegriCloud