diff options
| author | Gerd Moellmann | 2000-09-21 21:50:10 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-09-21 21:50:10 +0000 |
| commit | fca99116372ddd63cbcde108657a962274431a4d (patch) | |
| tree | e9ccf387d0611b97cff327939dca679e65cca548 /src | |
| parent | 86014a26a91e730f11c25c63c424d389ad892413 (diff) | |
| download | emacs-fca99116372ddd63cbcde108657a962274431a4d.tar.gz emacs-fca99116372ddd63cbcde108657a962274431a4d.zip | |
(wrong_type_argument, Fthrow, Fsignal, error): Declare
NO_RETURN.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 6 | ||||
| -rw-r--r-- | src/lisp.h | 8 |
2 files changed, 10 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index a1a56209a05..7d41c02513e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,11 @@ | |||
| 1 | 2000-09-21 Gerd Moellmann <gerd@gnu.org> | 1 | 2000-09-21 Gerd Moellmann <gerd@gnu.org> |
| 2 | 2 | ||
| 3 | * config.in (NO_RETURN): Define.as `__attribute__((__noreturn__))' | ||
| 4 | for GCC >= 2.5. | ||
| 5 | |||
| 6 | * lisp.h (wrong_type_argument, Fthrow, Fsignal, error): Declare | ||
| 7 | NO_RETURN. | ||
| 8 | |||
| 3 | * window.c, term.c, xmenu.c, xrdb.c, emacs.c, macros.c, | 9 | * window.c, term.c, xmenu.c, xrdb.c, emacs.c, macros.c, |
| 4 | * keymap.c, insdel.c, marker.c, minibuf.c, fileio.c, dired.c, | 10 | * keymap.c, insdel.c, marker.c, minibuf.c, fileio.c, dired.c, |
| 5 | * indent.c, search.c, alloc.c, data.c: Avoid some more compiler | 11 | * indent.c, search.c, alloc.c, data.c: Avoid some more compiler |
diff --git a/src/lisp.h b/src/lisp.h index e8283e1a5b6..4a9fe8139e9 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -1889,7 +1889,7 @@ extern Lisp_Object long_to_cons P_ ((unsigned long)); | |||
| 1889 | extern unsigned long cons_to_long P_ ((Lisp_Object)); | 1889 | extern unsigned long cons_to_long P_ ((Lisp_Object)); |
| 1890 | extern void args_out_of_range P_ ((Lisp_Object, Lisp_Object)); | 1890 | extern void args_out_of_range P_ ((Lisp_Object, Lisp_Object)); |
| 1891 | extern void args_out_of_range_3 P_ ((Lisp_Object, Lisp_Object, Lisp_Object)); | 1891 | extern void args_out_of_range_3 P_ ((Lisp_Object, Lisp_Object, Lisp_Object)); |
| 1892 | extern Lisp_Object wrong_type_argument P_ ((Lisp_Object, Lisp_Object)); | 1892 | extern Lisp_Object wrong_type_argument P_ ((Lisp_Object, Lisp_Object)) NO_RETURN; |
| 1893 | extern void store_symval_forwarding P_ ((Lisp_Object, Lisp_Object, Lisp_Object)); | 1893 | extern void store_symval_forwarding P_ ((Lisp_Object, Lisp_Object, Lisp_Object)); |
| 1894 | extern Lisp_Object do_symval_forwarding P_ ((Lisp_Object)); | 1894 | extern Lisp_Object do_symval_forwarding P_ ((Lisp_Object)); |
| 1895 | extern Lisp_Object set_internal P_ ((Lisp_Object, Lisp_Object, struct buffer *, int)); | 1895 | extern Lisp_Object set_internal P_ ((Lisp_Object, Lisp_Object, struct buffer *, int)); |
| @@ -2288,10 +2288,10 @@ EXFUN (Flet, UNEVALLED); | |||
| 2288 | EXFUN (FletX, UNEVALLED); | 2288 | EXFUN (FletX, UNEVALLED); |
| 2289 | EXFUN (Fwhile, UNEVALLED); | 2289 | EXFUN (Fwhile, UNEVALLED); |
| 2290 | EXFUN (Fcatch, UNEVALLED); | 2290 | EXFUN (Fcatch, UNEVALLED); |
| 2291 | EXFUN (Fthrow, 2); | 2291 | EXFUN (Fthrow, 2) NO_RETURN; |
| 2292 | EXFUN (Funwind_protect, UNEVALLED); | 2292 | EXFUN (Funwind_protect, UNEVALLED); |
| 2293 | EXFUN (Fcondition_case, UNEVALLED); | 2293 | EXFUN (Fcondition_case, UNEVALLED); |
| 2294 | EXFUN (Fsignal, 2); | 2294 | EXFUN (Fsignal, 2) NO_RETURN; |
| 2295 | EXFUN (Fautoload, 5); | 2295 | EXFUN (Fautoload, 5); |
| 2296 | EXFUN (Fcommandp, 1); | 2296 | EXFUN (Fcommandp, 1); |
| 2297 | EXFUN (Feval, 1); | 2297 | EXFUN (Feval, 1); |
| @@ -2315,7 +2315,7 @@ extern Lisp_Object internal_condition_case_2 P_ ((Lisp_Object (*) (int, Lisp_Obj | |||
| 2315 | extern void specbind P_ ((Lisp_Object, Lisp_Object)); | 2315 | extern void specbind P_ ((Lisp_Object, Lisp_Object)); |
| 2316 | extern void record_unwind_protect P_ ((Lisp_Object (*) (Lisp_Object), Lisp_Object)); | 2316 | extern void record_unwind_protect P_ ((Lisp_Object (*) (Lisp_Object), Lisp_Object)); |
| 2317 | extern Lisp_Object unbind_to P_ ((int, Lisp_Object)); | 2317 | extern Lisp_Object unbind_to P_ ((int, Lisp_Object)); |
| 2318 | extern void error P_ ((/* char *, ... */)); | 2318 | extern void error P_ ((/* char *, ... */)) NO_RETURN; |
| 2319 | extern void do_autoload P_ ((Lisp_Object, Lisp_Object)); | 2319 | extern void do_autoload P_ ((Lisp_Object, Lisp_Object)); |
| 2320 | extern Lisp_Object un_autoload P_ ((Lisp_Object)); | 2320 | extern Lisp_Object un_autoload P_ ((Lisp_Object)); |
| 2321 | EXFUN (Ffetch_bytecode, 1); | 2321 | EXFUN (Ffetch_bytecode, 1); |