summaryrefslogtreecommitdiff
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
commit73cd07adb297cdd343f0fed9d55740ec2a32d825 (patch)
tree5433c667f26c0eafdc69b0ce5ddd3ae96e61f1a7 /binutils/windres.c
parent0c73705c2e808c5cfda1a195b86719e22e5ebf34 (diff)
downloadbinutils-redhat-73cd07adb297cdd343f0fed9d55740ec2a32d825.tar.gz
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 0b56bc2d32..15483530b3 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,