lib-src/emacsclient.c (w32_execvp): Declare execvp to silence the compiler.
authorJuanma Barranquero <lekktu@gmail.com>
Mon, 9 Jul 2012 14:01:41 +0000 (16:01 +0200)
committerJuanma Barranquero <lekktu@gmail.com>
Mon, 9 Jul 2012 14:01:41 +0000 (16:01 +0200)
lib-src/ChangeLog
lib-src/emacsclient.c

index de15c3d..e2eb418 100644 (file)
@@ -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>
 
        * makefile.w32-in ($(BLD)/test-distrib.exe): Use LIB_SRC, not SRC.
index 46a4fdb..5487c14 100644 (file)
@@ -463,6 +463,7 @@ int
 w32_execvp (const char *path, char **argv)
 {
   int i;
+  extern int execvp (const char*, char **);
 
   /* Required to allow a .BAT script as alternate editor.  */
   argv[0] = (char *) alternate_editor;