diff options
author | Nick Clifton <nickc@redhat.com> | 2005-01-17 16:24:12 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2005-01-17 16:24:12 +0000 |
commit | b09a777222bf0a743061b84e490c28171cced25b (patch) | |
tree | a65474b2789f5954dcec95c485746c08658c8112 /binutils/windres.h | |
parent | 637537d07b5b84dc9cb76af1a4f8a847eb2cd5f7 (diff) | |
download | gdb-b09a777222bf0a743061b84e490c28171cced25b.zip gdb-b09a777222bf0a743061b84e490c28171cced25b.tar.gz gdb-b09a777222bf0a743061b84e490c28171cced25b.tar.bz2 |
PR binutils/647
* rcparse.y (RCDATA): Allow a filename to be supplied as the parameter.
Parse it with define_rcdata_file().
* resrc.c (define_rcdata_file): New function.
* windres.h: Provide a prototype for the new function.
* resrc.c (define_user_file): Fix typo by replacing "font file" with "file".
Diffstat (limited to 'binutils/windres.h')
-rw-r--r-- | binutils/windres.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/binutils/windres.h b/binutils/windres.h index bd1c636..ef754ce 100644 --- a/binutils/windres.h +++ b/binutils/windres.h @@ -1,5 +1,6 @@ /* windres.h -- header file for windres program. - Copyright 1997, 1998, 2000, 2002, 2003 Free Software Foundation, Inc. + Copyright 1997, 1998, 2000, 2002, 2003, 2005 + Free Software Foundation, Inc. Written by Ian Lance Taylor, Cygnus Support. This file is part of GNU Binutils. @@ -829,6 +830,8 @@ extern void define_messagetable (struct res_id, const struct res_res_info *, const char *); extern void define_rcdata (struct res_id, const struct res_res_info *, struct rcdata_item *); +extern void define_rcdata_file + (struct res_id, const struct res_res_info *, const char *); extern struct rcdata_item *define_rcdata_string (const char *, unsigned long); extern struct rcdata_item *define_rcdata_number (unsigned long, int); |