]> code.delx.au - gnu-emacs/commitdiff
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 de15c3d29d5b80f06f11555a71811f9e754fcf91..e2eb418327ec3cfc855c58310377a89a167b0746 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 46a4fdb26e72fdddda070d3c18a90d3179385c0c..5487c1470792cdc02c3051d43fc9c403bca71257 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;