summaryrefslogtreecommitdiff
path: root/lib/hard-locale.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-08-02 22:49:12 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-08-02 22:49:12 +0000
commit28730b8b3673d381bfaab5da1b1abc7d62d77f85 (patch)
tree4f338a6b71bdd79630753f86b9a997427d972b75 /lib/hard-locale.h
parentecb7230885520949f6d6c7b3afc96b39c13802e3 (diff)
downloadcoreutils-28730b8b3673d381bfaab5da1b1abc7d62d77f85.tar.xz
Include <stdbool.h>.
(hard_locale): Return bool, not int.
Diffstat (limited to 'lib/hard-locale.h')
-rw-r--r--lib/hard-locale.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/hard-locale.h b/lib/hard-locale.h
index ddc15d019..010cb2768 100644
--- a/lib/hard-locale.h
+++ b/lib/hard-locale.h
@@ -1,6 +1,6 @@
/* Determine whether a locale is hard.
- Copyright (C) 1999, 2003 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2003, 2004 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
@@ -19,6 +19,8 @@
#ifndef HARD_LOCALE_H_
# define HARD_LOCALE_H_ 1
-int hard_locale (int);
+# include <stdbool.h>
+
+bool hard_locale (int);
#endif /* HARD_LOCALE_H_ */