aboutsummaryrefslogtreecommitdiff
path: root/binutils/windres.h
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/windres.h')
-rw-r--r--binutils/windres.h114
1 files changed, 53 insertions, 61 deletions
diff --git a/binutils/windres.h b/binutils/windres.h
index 52b53ca..bd1c636 100644
--- a/binutils/windres.h
+++ b/binutils/windres.h
@@ -751,43 +751,40 @@ extern int verbose;
/* Function declarations. */
extern struct res_directory *read_rc_file
- PARAMS ((const char *, const char *, const char *, int, int));
-extern struct res_directory *read_res_file PARAMS ((const char *));
-extern struct res_directory *read_coff_rsrc
- PARAMS ((const char *, const char *));
-extern void write_rc_file
- PARAMS ((const char *, const struct res_directory *));
-extern void write_res_file
- PARAMS ((const char *, const struct res_directory *));
+ (const char *, const char *, const char *, int, int);
+extern struct res_directory *read_res_file (const char *);
+extern struct res_directory *read_coff_rsrc (const char *, const char *);
+extern void write_rc_file (const char *, const struct res_directory *);
+extern void write_res_file (const char *, const struct res_directory *);
extern void write_coff_file
- PARAMS ((const char *, const char *, const struct res_directory *));
+ (const char *, const char *, const struct res_directory *);
extern struct res_resource *bin_to_res
- PARAMS ((struct res_id, const unsigned char *, unsigned long, int));
-extern struct bindata *res_to_bin PARAMS ((const struct res_resource *, int));
+ (struct res_id, const unsigned char *, unsigned long, int);
+extern struct bindata *res_to_bin (const struct res_resource *, int);
extern FILE *open_file_search
- PARAMS ((const char *, const char *, const char *, char **));
+ (const char *, const char *, const char *, char **);
-extern PTR res_alloc PARAMS ((size_t));
-extern PTR reswr_alloc PARAMS ((size_t));
+extern void *res_alloc (size_t);
+extern void *reswr_alloc (size_t);
/* Resource ID handling. */
-extern int res_id_cmp PARAMS ((struct res_id, struct res_id));
-extern void res_id_print PARAMS ((FILE *, struct res_id, int));
-extern void res_ids_print PARAMS ((FILE *, int, const struct res_id *));
-extern void res_string_to_id PARAMS ((struct res_id *, const char *));
+extern int res_id_cmp (struct res_id, struct res_id);
+extern void res_id_print (FILE *, struct res_id, int);
+extern void res_ids_print (FILE *, int, const struct res_id *);
+extern void res_string_to_id (struct res_id *, const char *);
/* Manipulation of the resource tree. */
extern struct res_resource *define_resource
- PARAMS ((struct res_directory **, int, const struct res_id *, int));
+ (struct res_directory **, int, const struct res_id *, int);
extern struct res_resource *define_standard_resource
- PARAMS ((struct res_directory **, int, struct res_id, int, int));
+ (struct res_directory **, int, struct res_id, int, int);
-extern int extended_dialog PARAMS ((const struct dialog *));
-extern int extended_menu PARAMS ((const struct menu *));
+extern int extended_dialog (const struct dialog *);
+extern int extended_menu (const struct menu *);
/* Communication between the rc file support and the parser and lexer. */
@@ -796,64 +793,59 @@ extern FILE *yyin;
extern char *rc_filename;
extern int rc_lineno;
-extern int yyparse PARAMS ((void));
-extern int yylex PARAMS ((void));
-extern void yyerror PARAMS ((const char *));
-extern void rcparse_warning PARAMS ((const char *));
-extern void rcparse_set_language PARAMS ((int));
-extern void rcparse_discard_strings PARAMS ((void));
-extern void rcparse_rcdata PARAMS ((void));
-extern void rcparse_normal PARAMS ((void));
+extern int yyparse (void);
+extern int yylex (void);
+extern void yyerror (const char *);
+extern void rcparse_warning (const char *);
+extern void rcparse_set_language (int);
+extern void rcparse_discard_strings (void);
+extern void rcparse_rcdata (void);
+extern void rcparse_normal (void);
extern void define_accelerator
- PARAMS ((struct res_id, const struct res_res_info *, struct accelerator *));
+ (struct res_id, const struct res_res_info *, struct accelerator *);
extern void define_bitmap
- PARAMS ((struct res_id, const struct res_res_info *, const char *));
+ (struct res_id, const struct res_res_info *, const char *);
extern void define_cursor
- PARAMS ((struct res_id, const struct res_res_info *, const char *));
+ (struct res_id, const struct res_res_info *, const char *);
extern void define_dialog
- PARAMS ((struct res_id, const struct res_res_info *, const struct dialog *));
+ (struct res_id, const struct res_res_info *, const struct dialog *);
extern struct dialog_control *define_control
- PARAMS ((const struct res_id, unsigned long, unsigned long, unsigned long,
- unsigned long, unsigned long, unsigned long, unsigned long,
- unsigned long));
+ (const struct res_id, unsigned long, unsigned long, unsigned long,
+ unsigned long, unsigned long, unsigned long, unsigned long, unsigned long);
extern struct dialog_control *define_icon_control
- PARAMS ((struct res_id, unsigned long, unsigned long,
- unsigned long, unsigned long, unsigned long, unsigned long,
- struct rcdata_item *, struct dialog_ex *));
+ (struct res_id, unsigned long, unsigned long, unsigned long, unsigned long,
+ unsigned long, unsigned long, struct rcdata_item *, struct dialog_ex *);
extern void define_font
- PARAMS ((struct res_id, const struct res_res_info *, const char *));
+ (struct res_id, const struct res_res_info *, const char *);
extern void define_icon
- PARAMS ((struct res_id, const struct res_res_info *, const char *));
+ (struct res_id, const struct res_res_info *, const char *);
extern void define_menu
- PARAMS ((struct res_id, const struct res_res_info *, struct menuitem *));
+ (struct res_id, const struct res_res_info *, struct menuitem *);
extern struct menuitem *define_menuitem
- PARAMS ((const char *, int, unsigned long, unsigned long, unsigned long,
- struct menuitem *));
+ (const char *, int, unsigned long, unsigned long, unsigned long,
+ struct menuitem *);
extern void define_messagetable
- PARAMS ((struct res_id, const struct res_res_info *, const char *));
+ (struct res_id, const struct res_res_info *, const char *);
extern void define_rcdata
- PARAMS ((struct res_id, const struct res_res_info *, struct rcdata_item *));
+ (struct res_id, const struct res_res_info *, struct rcdata_item *);
extern struct rcdata_item *define_rcdata_string
- PARAMS ((const char *, unsigned long));
-extern struct rcdata_item *define_rcdata_number
- PARAMS ((unsigned long, int));
+ (const char *, unsigned long);
+extern struct rcdata_item *define_rcdata_number (unsigned long, int);
extern void define_stringtable
- PARAMS ((const struct res_res_info *, unsigned long, const char *));
+ (const struct res_res_info *, unsigned long, const char *);
extern void define_user_data
- PARAMS ((struct res_id, struct res_id, const struct res_res_info *,
- struct rcdata_item *));
+ (struct res_id, struct res_id, const struct res_res_info *,
+ struct rcdata_item *);
extern void define_user_file
- PARAMS ((struct res_id, struct res_id, const struct res_res_info *,
- const char *));
+ (struct res_id, struct res_id, const struct res_res_info *, const char *);
extern void define_versioninfo
- PARAMS ((struct res_id, int, struct fixed_versioninfo *,
- struct ver_info *));
+ (struct res_id, int, struct fixed_versioninfo *, struct ver_info *);
extern struct ver_info *append_ver_stringfileinfo
- PARAMS ((struct ver_info *, const char *, struct ver_stringinfo *));
+ (struct ver_info *, const char *, struct ver_stringinfo *);
extern struct ver_info *append_ver_varfileinfo
- PARAMS ((struct ver_info *, const char *, struct ver_varinfo *));
+ (struct ver_info *, const char *, struct ver_varinfo *);
extern struct ver_stringinfo *append_verval
- PARAMS ((struct ver_stringinfo *, const char *, const char *));
+ (struct ver_stringinfo *, const char *, const char *);
extern struct ver_varinfo *append_vertrans
- PARAMS ((struct ver_varinfo *, unsigned long, unsigned long));
+ (struct ver_varinfo *, unsigned long, unsigned long);