lib-src/emacsclient.c (w32_execvp): Declare execvp to silence the compiler.
This commit is contained in:
parent
794327722e
commit
ad0a19b70e
2 changed files with 5 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2012-07-09 Juanma Barranquero <lekktu@gmail.com>
|
||||||
|
|
||||||
|
* emacsclient.c (w32_execvp): Declare execvp to silence the compiler.
|
||||||
|
|
||||||
2012-07-09 Juanma Barranquero <lekktu@gmail.com>
|
2012-07-09 Juanma Barranquero <lekktu@gmail.com>
|
||||||
|
|
||||||
* makefile.w32-in ($(BLD)/test-distrib.exe): Use LIB_SRC, not SRC.
|
* makefile.w32-in ($(BLD)/test-distrib.exe): Use LIB_SRC, not SRC.
|
||||||
|
|
|
@ -463,6 +463,7 @@ int
|
||||||
w32_execvp (const char *path, char **argv)
|
w32_execvp (const char *path, char **argv)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
extern int execvp (const char*, char **);
|
||||||
|
|
||||||
/* Required to allow a .BAT script as alternate editor. */
|
/* Required to allow a .BAT script as alternate editor. */
|
||||||
argv[0] = (char *) alternate_editor;
|
argv[0] = (char *) alternate_editor;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue