aboutsummaryrefslogtreecommitdiff
path: root/binutils/windres.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-04-09 16:55:48 +0000
committerNick Clifton <nickc@redhat.com>2002-04-09 16:55:48 +0000
commitf7d63484de877e1d0efe47ed768eb893332e5c5d (patch)
tree959d06f9e83eb1a6932b6110d802595120bd0492 /binutils/windres.c
parent5bcd00a60aef50165fe80e709b9ddfaea87ffaaa (diff)
downloadgdb-f7d63484de877e1d0efe47ed768eb893332e5c5d.zip
gdb-f7d63484de877e1d0efe47ed768eb893332e5c5d.tar.gz
gdb-f7d63484de877e1d0efe47ed768eb893332e5c5d.tar.bz2
Set default LANGUAGE to english/us.
Diffstat (limited to 'binutils/windres.c')
-rw-r--r--binutils/windres.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/binutils/windres.c b/binutils/windres.c
index 0b56bc2..1548353 100644
--- a/binutils/windres.c
+++ b/binutils/windres.c
@@ -145,6 +145,8 @@ static enum res_format format_from_filename PARAMS ((const char *, int));
static void usage PARAMS ((FILE *, int));
static int cmp_res_entry PARAMS ((const PTR, const PTR));
static struct res_directory *sort_resources PARAMS ((struct res_directory *));
+static void reswr_init PARAMS ((void));
+static const char * quot PARAMS ((const char *));
/* When we are building a resource tree, we allocate everything onto
an obstack, so that we can free it all at once if we want. */
@@ -765,6 +767,9 @@ quot (string)
return buf;
}
+/* This keeps gcc happy when using -Wmissing-prototypes -Wstrict-prototypes. */
+int main PARAMS ((int, char **));
+
/* The main function. */
int
@@ -809,7 +814,7 @@ main (argc, argv)
target = NULL;
preprocessor = NULL;
preprocargs = NULL;
- language = -1;
+ language = 0x409; /* LANG_ENGLISH, SUBLANG_ENGLISH_US. */
use_temp_file = 0;
while ((c = getopt_long (argc, argv, "i:o:I:O:F:D:hHvV", long_options,