]> git.saurik.com Git - bison.git/blobdiff - lib/main.c
yacc: beware of "uninitialized uses" warnings
[bison.git] / lib / main.c
index 028194a08154eae1c6dd24c4dbf1ccee7a857573..651ca9db18348c45b9d7095389829f256e2d48f8 100644 (file)
@@ -1,6 +1,6 @@
 /* Yacc library main function.
 
 /* Yacc library main function.
 
-   Copyright (C) 2002, 2009-2010 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2009-2013 Free Software Foundation, Inc.
 
    This file is part of Bison, the GNU Compiler Compiler.
 
 
    This file is part of Bison, the GNU Compiler Compiler.
 
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include <config.h>
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include <config.h>
-
-#if HAVE_LOCALE_H
-# include <locale.h>
-#endif
-#if ! HAVE_SETLOCALE
-# define setlocale(Category, Locale)
-#endif
+#include <locale.h>
 
 int yyparse (void);
 
 
 int yyparse (void);