summaryrefslogtreecommitdiff
path: root/lib/hard-locale.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2003-09-09 19:37:26 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2003-09-09 19:37:26 +0000
commit46474c5a6fc8a449b041731529a668528f47ec07 (patch)
tree1fa1b1b812f7b41911df11ca16a5e4cdb5b72fce /lib/hard-locale.c
parent2e71c0ced2dfa5ba4a49103b9906e433bb126aba (diff)
downloadgnulib-46474c5a6fc8a449b041731529a668528f47ec07.tar.gz
Remove K&R cruft.
Diffstat (limited to 'lib/hard-locale.c')
-rw-r--r--lib/hard-locale.c15
1 files changed, 5 insertions, 10 deletions
diff --git a/lib/hard-locale.c b/lib/hard-locale.c
index 0070542e09..8c0ee8c777 100644
--- a/lib/hard-locale.c
+++ b/lib/hard-locale.c
@@ -1,6 +1,6 @@
/* hard-locale.c -- Determine whether a locale is hard.
- Copyright (C) 1997, 1998, 1999, 2002 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1998, 1999, 2002, 2003 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -20,19 +20,14 @@
# include <config.h>
#endif
+#include "hard-locale.h"
+
#if HAVE_LOCALE_H
# include <locale.h>
#endif
-#if HAVE_STDLIB_H
-# include <stdlib.h>
-#endif
-
-#if HAVE_STRING_H
-# include <string.h>
-#endif
-
-#include "hard-locale.h"
+#include <stdlib.h>
+#include <string.h>
/* Return nonzero if the current CATEGORY locale is hard, i.e. if you
can't get away with assuming traditional C or POSIX behavior. */