aboutsummaryrefslogtreecommitdiff
path: root/gdb/procfs.c
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1994-08-02 02:02:39 +0000
committerStan Shebs <shebs@codesourcery.com>1994-08-02 02:02:39 +0000
commit6f54efdc4b4053bd02b7f818212a1a84e444876c (patch)
treea95b78d2077df0bc8f57b4d1e3cd4448a17afa6e /gdb/procfs.c
parentd2a85f11be4db16c760d94e182e83cc0c9aa85e8 (diff)
downloadgdb-6f54efdc4b4053bd02b7f818212a1a84e444876c.zip
gdb-6f54efdc4b4053bd02b7f818212a1a84e444876c.tar.gz
gdb-6f54efdc4b4053bd02b7f818212a1a84e444876c.tar.bz2
* defs.h: Change two-line declarations to one-line form.
(NORETURN): Define as "volatile" only for older GCCs. (ATTR_NORETURN): Define for newer GCCs. * procfs.c (proc_init_filed): Add ATTR_NORETURN to declaration.
Diffstat (limited to 'gdb/procfs.c')
-rw-r--r--gdb/procfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/procfs.c b/gdb/procfs.c
index 39b3931..e1cbf80 100644
--- a/gdb/procfs.c
+++ b/gdb/procfs.c
@@ -385,7 +385,7 @@ static void
unconditionally_kill_inferior PARAMS ((struct procinfo *));
static NORETURN void
-proc_init_failed PARAMS ((struct procinfo *, char *));
+proc_init_failed PARAMS ((struct procinfo *, char *)) ATTR_NORETURN;
static void
info_proc PARAMS ((char *, int));