diff options
| author | Glenn Morris | 2011-03-26 19:27:11 -0700 |
|---|---|---|
| committer | Glenn Morris | 2011-03-26 19:27:11 -0700 |
| commit | 9af30bdf17f8371664bc0c5854c91c2e46257b5e (patch) | |
| tree | ef68d0a44cbdc312405a65101dbc5df41316c71a /src/s | |
| parent | 7a097943f7d3433a5d053eee4b2f3254230fee64 (diff) | |
| download | emacs-9af30bdf17f8371664bc0c5854c91c2e46257b5e.tar.gz emacs-9af30bdf17f8371664bc0c5854c91c2e46257b5e.zip | |
Remove (RET)SIGTYPE; it is identical to void on all supported systems.
Ref: http://lists.gnu.org/archive/html/emacs-devel/2011-03/msg01068.html
* configure.in (AC_TYPE_SIGNAL): Remove obsolete macro.
(AH_BOTTOM): Do not define SIGTYPE.
* lib-src/emacsclient.c: Replace SIGTYPE with void.
* nt/config.nt: Remove RETSIGTYPE, SIGTYPE (identical to void).
* src/syssignal.h: Replace RETSIGTYPE with void.
* src/atimer.c, src/data.c, src/dispnew.c, src/emacs.c, src/floatfns.c:
* src/keyboard.c, src/keyboard.h, src/lisp.h, src/process.c, src/sysdep.c:
* src/xterm.c: Replace SIGTYPE with void everywhere.
* src/s/template.h (SIGTYPE): Remove commented out definition.
* src/s/usg5-4-common.h (SIGTYPE): Remove definition.
* admin/CPP-DEFINES: Remove SIGTYPE.
Diffstat (limited to 'src/s')
| -rw-r--r-- | src/s/template.h | 9 | ||||
| -rw-r--r-- | src/s/usg5-4-common.h | 3 |
2 files changed, 0 insertions, 12 deletions
diff --git a/src/s/template.h b/src/s/template.h index ee5afa81de4..4e0400e99e3 100644 --- a/src/s/template.h +++ b/src/s/template.h | |||
| @@ -77,15 +77,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 77 | a file that someone else has modified in his Emacs. */ | 77 | a file that someone else has modified in his Emacs. */ |
| 78 | #define CLASH_DETECTION | 78 | #define CLASH_DETECTION |
| 79 | 79 | ||
| 80 | /* Define this if your operating system declares signal handlers to | ||
| 81 | have a type other than the usual. `The usual' is `void' for ANSI C | ||
| 82 | systems (i.e. when the __STDC__ macro is defined), and `int' for | ||
| 83 | pre-ANSI systems. If you're using GCC on an older system, __STDC__ | ||
| 84 | will be defined, but the system's include files will still say that | ||
| 85 | signal returns int or whatever; in situations like that, define | ||
| 86 | this to be what the system's include files want. */ | ||
| 87 | /* #define SIGTYPE int */ | ||
| 88 | |||
| 89 | /* If the character used to separate elements of the executable path | 80 | /* If the character used to separate elements of the executable path |
| 90 | is not ':', #define this to be the appropriate character constant. */ | 81 | is not ':', #define this to be the appropriate character constant. */ |
| 91 | /* #define SEPCHAR ':' */ | 82 | /* #define SEPCHAR ':' */ |
diff --git a/src/s/usg5-4-common.h b/src/s/usg5-4-common.h index aeedd7f4b15..236f71e3007 100644 --- a/src/s/usg5-4-common.h +++ b/src/s/usg5-4-common.h | |||
| @@ -38,9 +38,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 38 | /* The docs for system V/386 suggest v.3 has sigpause, so let's try it. */ | 38 | /* The docs for system V/386 suggest v.3 has sigpause, so let's try it. */ |
| 39 | #define HAVE_SYSV_SIGPAUSE | 39 | #define HAVE_SYSV_SIGPAUSE |
| 40 | 40 | ||
| 41 | /* On USG systems signal handlers return void. */ | ||
| 42 | #define SIGTYPE void | ||
| 43 | |||
| 44 | /* Get FIONREAD from <sys/filio.h>. Get <sys/ttold.h> to get struct tchars. | 41 | /* Get FIONREAD from <sys/filio.h>. Get <sys/ttold.h> to get struct tchars. |
| 45 | But get <termio.h> first to make sure ttold.h doesn't interfere. | 42 | But get <termio.h> first to make sure ttold.h doesn't interfere. |
| 46 | And don't try to use SIGIO yet. */ | 43 | And don't try to use SIGIO yet. */ |