summaryrefslogtreecommitdiff
path: root/make.h
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2010-07-12 17:16:54 +0000
committerEli Zaretskii <eliz@gnu.org>2010-07-12 17:16:54 +0000
commit96c0761689408b126e6f3021b9e66681eae5e199 (patch)
tree862e5b246041cca79d59bc9ba8726015f682a8ed /make.h
parentbbe7b86718cead9196d48ffdb441c4408053ae1c (diff)
downloadgunmake-96c0761689408b126e6f3021b9e66681eae5e199.tar.gz
make.h (alloca) [!__GNUC__]: Don't define prototype.
(int w32_kill): Use pid_t for process ID argument. Savannah bug #27809.
Diffstat (limited to 'make.h')
-rw-r--r--make.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/make.h b/make.h
index 2abe7ed..e46a150 100644
--- a/make.h
+++ b/make.h
@@ -35,8 +35,10 @@ this program. If not, see <http://www.gnu.org/licenses/>. */
# ifdef _AIX
#pragma alloca
# else
-# ifndef alloca /* predefined by HP cc +Olibcalls */
+# ifndef __GNUC__
+# ifndef alloca /* predefined by HP cc +Olibcalls */
char *alloca ();
+# endif
# endif
# endif
#endif
@@ -326,7 +328,7 @@ char *strsignal (int signum);
# define kill(_pid,_sig) w32_kill((_pid),(_sig))
void sync_Path_environment (void);
-int w32_kill (int pid, int sig);
+int w32_kill (pid_t pid, int sig);
char *end_of_token_w32 (const char *s, char stopchar);
int find_and_set_default_shell (const char *token);
@@ -500,7 +502,6 @@ extern int env_overrides, no_builtin_rules_flag, no_builtin_variables_flag;
extern int print_version_flag, print_directory_flag, check_symlink_flag;
extern int warn_undefined_variables_flag, posix_pedantic, not_parallel;
extern int second_expansion, clock_skew_detected, rebuilding_makefiles;
-extern int one_shell;
/* can we run commands via 'sh -c xxx' or must we use batch files? */
extern int batch_mode_shell;