* style(9)'ify
* add K&R support to langinfo.h Requested by: bde (2)
This commit is contained in:
+5
-5
@@ -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_ */
|
||||
|
||||
+3
-3
@@ -26,8 +26,8 @@
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#ifndef _MONETARY_H
|
||||
#define _MONETARY_H
|
||||
#ifndef _MONETARY_H_
|
||||
#define _MONETARY_H_
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#include <machine/ansi.h>
|
||||
@@ -46,4 +46,4 @@ __BEGIN_DECLS
|
||||
ssize_t strfmon(char *, size_t, const char *, ...);
|
||||
__END_DECLS
|
||||
|
||||
#endif /* !_MONETARY_H */
|
||||
#endif /* !_MONETARY_H_ */
|
||||
|
||||
Reference in New Issue
Block a user