projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove HAVE_LOCALE_H and HAVE_TIME_H and HAVE_SETLOCALE since they have not been...
[rrdtool.git]
/
src
/
rrd_tool.c
diff --git
a/src/rrd_tool.c
b/src/rrd_tool.c
index
7464b3c
..
302669d
100644
(file)
--- a/
src/rrd_tool.c
+++ b/
src/rrd_tool.c
@@
-18,9
+18,8
@@
#include "rrd_xport.h"
#include "rrd_i18n.h"
#include "rrd_xport.h"
#include "rrd_i18n.h"
-#ifdef HAVE_LOCALE_H
#include <locale.h>
#include <locale.h>
-#endif
+
void PrintUsage(
char *cmd);
void PrintUsage(
char *cmd);
@@
-408,11
+407,10
@@
int main(
#ifdef MUST_DISABLE_FPMASK
fpsetmask(0);
#endif
#ifdef MUST_DISABLE_FPMASK
fpsetmask(0);
#endif
-#ifdef HAVE_LOCALE_H
+
/* initialize locale settings
according to localeconv(3) */
setlocale(LC_ALL, "");
/* initialize locale settings
according to localeconv(3) */
setlocale(LC_ALL, "");
-#endif
#if defined(HAVE_LIBINTL_H) && defined(BUILD_LIBINTL)
bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR);
#if defined(HAVE_LIBINTL_H) && defined(BUILD_LIBINTL)
bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR);