Branch: refs/heads/master Author: Dimitar Zhekov dimitar.zhekov@gmail.com Committer: Dimitar Zhekov dimitar.zhekov@gmail.com Date: Sun, 05 Apr 2015 15:49:28 UTC Commit: bfa93af5cc3ee23cd049e5a144f2c393aba45e95 https://github.com/geany/geany/commit/bfa93af5cc3ee23cd049e5a144f2c393aba45e...
Log Message: ----------- Remove the includes of <sys/types.h> and <sys/wait.h> from *.c
These are included from spawn.h under Unix now. Also fixes spawn.c including <sys/wait.h> without <sys/types.h>
Modified Paths: -------------- src/search.c src/spawn.c src/tools.c
Modified: src/search.c 5 lines changed, 0 insertions(+), 5 deletions(-) =================================================================== @@ -50,11 +50,6 @@ #include <string.h> #include <ctype.h>
-#ifdef G_OS_UNIX -# include <sys/types.h> -# include <sys/wait.h> -#endif - #include <gdk/gdkkeysyms.h>
enum
Modified: src/spawn.c 3 lines changed, 0 insertions(+), 3 deletions(-) =================================================================== @@ -1068,9 +1068,6 @@ gboolean spawn_sync(const gchar *working_directory, const gchar *command_line, g /* tests, not part of the API */ #ifdef SPAWN_TEST #include <stdio.h> -#ifndef WIFEXITED -#include <sys/wait.h> /* WIFEXITED */ -#endif
static gboolean read_line(const char *prompt, char *buffer, size_t size)
Modified: src/tools.c 5 lines changed, 0 insertions(+), 5 deletions(-) =================================================================== @@ -46,11 +46,6 @@ #include <string.h> #include <errno.h>
-#ifdef G_OS_UNIX -# include <sys/types.h> -# include <sys/wait.h> -#endif -
enum {
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).