From 7b2098ab301a34dd19970c9e89a59c11d9727999 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Mon, 3 Apr 2000 16:36:51 +0200 Subject: [PATCH] Fixed a few warnings. Rev: src/pike-module.in:1.5 --- .gitattributes | 1 + src/pike-module.in | 9 ++++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitattributes b/.gitattributes index 184794079a..a8045a0846 100644 --- a/.gitattributes +++ b/.gitattributes @@ -487,6 +487,7 @@ testfont binary /src/peep.h foreign_ident /src/peep.in foreign_ident /src/peep_t.c foreign_ident +/src/pike-module.in foreign_ident /src/pike_macros.h foreign_ident /src/pike_memory.c foreign_ident /src/pike_memory.h foreign_ident diff --git a/src/pike-module.in b/src/pike-module.in index 6daa11de4d..0df6117f16 100644 --- a/src/pike-module.in +++ b/src/pike-module.in @@ -1,4 +1,7 @@ #!¤pike¤ +// -*- Pike -*- + +// $Id: pike-module.in,v 1.5 2000/04/03 14:36:51 grubba Exp $ // Source directory string srcdir; @@ -83,10 +86,10 @@ void run_or_fail(mapping options,string ... cmd) } -void do_make(string *cmd) +void do_make(array(string) cmd) { int tmp1; - string *makecmd=( + array(string) makecmd=( ({make})+ Process.split_quoted_string(make_flags)-({""})+ ({"PIKE_INCLUDES=-I"+include_path, @@ -114,7 +117,7 @@ void do_make(string *cmd) } } -int main(int argc, string *argv) +int main(int argc, array(string) argv) { foreach(Getopt.find_all_options(argv,aggregate( ({"fixate",Getopt.NO_ARG,({"--fixate"}) }), -- GitLab