diff options
| author | Glenn Morris | 2012-07-12 19:56:39 -0400 |
|---|---|---|
| committer | Glenn Morris | 2012-07-12 19:56:39 -0400 |
| commit | b82da769e5bd9aab6ee2102d4c98ed7e1c6541bb (patch) | |
| tree | b2ceffaf072612d2e1121a680c8f381148761646 /src/process.c | |
| parent | ba9e4b84ac8322e84cd0cc1c5fe6d5d8a8453ff5 (diff) | |
| download | emacs-b82da769e5bd9aab6ee2102d4c98ed7e1c6541bb.tar.gz emacs-b82da769e5bd9aab6ee2102d4c98ed7e1c6541bb.zip | |
Rename init_process rather than working around it on Darwin
The old name is also the name of a Mach system call.
* src/process.c (init_process_emacs): Rename from init_process.
* src/lisp.h, src/emacs.c: Update for this name change.
* src/nsgui.h, src/sysselect.h, src/s/darwin.h:
Remove workaround that is no longer needed.
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c index 98a47eca7ae..44f8520745d 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -7298,8 +7298,10 @@ integer or floating point values. | |||
| 7298 | } | 7298 | } |
| 7299 | 7299 | ||
| 7300 | 7300 | ||
| 7301 | /* This is not called "init_process" because that is the name of a | ||
| 7302 | Mach system call, so it would cause problems on Darwin systems. */ | ||
| 7301 | void | 7303 | void |
| 7302 | init_process (void) | 7304 | init_process_emacs (void) |
| 7303 | { | 7305 | { |
| 7304 | #ifdef subprocesses | 7306 | #ifdef subprocesses |
| 7305 | register int i; | 7307 | register int i; |