aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1997-06-13 14:51:32 +0000
committerFred Fish <fnf@specifix.com>1997-06-13 14:51:32 +0000
commit56e327b302eee034d0b5c069163023e4cd81b0b7 (patch)
tree590bf7971768931f17ba5d883ee96b243ae742be /gdb/defs.h
parentadc03ece6288d971ea4eaab90d00abef5ef49cb7 (diff)
downloadgdb-56e327b302eee034d0b5c069163023e4cd81b0b7.zip
gdb-56e327b302eee034d0b5c069163023e4cd81b0b7.tar.gz
gdb-56e327b302eee034d0b5c069163023e4cd81b0b7.tar.bz2
* defs.h (perror_with_name): Is a NORETURN function.
* utils.c (perror_with_name): Is a NORETURN function. (error): Is NORETURN independently of ANSI_PROTOTYPES. * symtab.c (fixup_symbol_section): Remove prototype. * symtab.h: (fixup_symbol_section): Add prototype. * m32r-rom.c (report_transfer_performance): Add prototype. * sparclet-rom.c: Ditto. * dsrec.c: Ditto. * c-exp.y (parse_number): Cast args to float* or double* as appropriate for conversion format. * java-exp.y (parse_number): Ditto. * Makefile.in (c-exp.tab.c): Remove #line lines that refer to nonexistant y.tab.c file. (java-exp.tab.c): Ditto. (f-exp.tab.c): Ditto. (m2-exp.tab.c): Ditto. start-sanitize-gdbtk * gdbtk.c (gdbtk_init): Make truth value test explicit. Remove unused static variable "Gdbtk_Library". end-sanitize-gdbtk
Diffstat (limited to 'gdb/defs.h')
-rw-r--r--gdb/defs.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index e170b71..65558e0 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -362,7 +362,7 @@ extern char* preg_nz PARAMS ((t_reg reg));
extern void fprintf_symbol_filtered PARAMS ((GDB_FILE *, char *,
enum language, int));
-extern void perror_with_name PARAMS ((char *));
+extern NORETURN void perror_with_name PARAMS ((char *)) ATTR_NORETURN;
extern void print_sys_errmsg PARAMS ((char *, int));
@@ -623,7 +623,7 @@ extern char *quit_pre_print;
extern char *warning_pre_print;
-extern NORETURN void error PARAMS((char *, ...)) ATTR_NORETURN;
+extern NORETURN void error PARAMS((const char *, ...)) ATTR_NORETURN;
extern void error_begin PARAMS ((void));
@@ -653,7 +653,7 @@ catch_errors PARAMS ((int (*) (char *), void *, char *, return_mask));
extern void warning_begin PARAMS ((void));
-extern void warning PARAMS ((char *, ...))
+extern void warning PARAMS ((const char *, ...))
ATTR_FORMAT(printf, 1, 2);
/* Global functions from other, non-gdb GNU thingies.