diff options
| author | Juanma Barranquero | 2012-07-09 16:01:41 +0200 |
|---|---|---|
| committer | Juanma Barranquero | 2012-07-09 16:01:41 +0200 |
| commit | ad0a19b70ec45539c65db17cd14098fce8086c93 (patch) | |
| tree | 2129e91ef02f4e78d6f47b83fa53bd881091af7a /lib-src | |
| parent | 794327722e006fb4bceadca844eb49000131fd8e (diff) | |
| download | emacs-ad0a19b70ec45539c65db17cd14098fce8086c93.tar.gz emacs-ad0a19b70ec45539c65db17cd14098fce8086c93.zip | |
lib-src/emacsclient.c (w32_execvp): Declare execvp to silence the compiler.
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/ChangeLog | 4 | ||||
| -rw-r--r-- | lib-src/emacsclient.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index de15c3d29d5..e2eb418327e 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,5 +1,9 @@ | |||
| 1 | 2012-07-09 Juanma Barranquero <lekktu@gmail.com> | 1 | 2012-07-09 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 2 | ||
| 3 | * emacsclient.c (w32_execvp): Declare execvp to silence the compiler. | ||
| 4 | |||
| 5 | 2012-07-09 Juanma Barranquero <lekktu@gmail.com> | ||
| 6 | |||
| 3 | * makefile.w32-in ($(BLD)/test-distrib.exe): Use LIB_SRC, not SRC. | 7 | * makefile.w32-in ($(BLD)/test-distrib.exe): Use LIB_SRC, not SRC. |
| 4 | (LIB_SRC, NT_INC, GNU_LIB, MS_W32_H, CONFIG_H, INTTYPES_H, NTLIB_H) | 8 | (LIB_SRC, NT_INC, GNU_LIB, MS_W32_H, CONFIG_H, INTTYPES_H, NTLIB_H) |
| 5 | (SYSTIME_H): New macros. | 9 | (SYSTIME_H): New macros. |
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index 46a4fdb26e7..5487c147079 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c | |||
| @@ -463,6 +463,7 @@ int | |||
| 463 | w32_execvp (const char *path, char **argv) | 463 | w32_execvp (const char *path, char **argv) |
| 464 | { | 464 | { |
| 465 | int i; | 465 | int i; |
| 466 | extern int execvp (const char*, char **); | ||
| 466 | 467 | ||
| 467 | /* Required to allow a .BAT script as alternate editor. */ | 468 | /* Required to allow a .BAT script as alternate editor. */ |
| 468 | argv[0] = (char *) alternate_editor; | 469 | argv[0] = (char *) alternate_editor; |