lucy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nwelln...@apache.org
Subject [lucy-commits] [02/15] git commit: refs/heads/install-c-library - Include stdarg.h unconditionally
Date Sat, 18 May 2013 19:23:47 GMT
Include stdarg.h unconditionally

It's part of C89.


Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/35d8cc93
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/35d8cc93
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/35d8cc93

Branch: refs/heads/install-c-library
Commit: 35d8cc931dcda2c3581318a9ffac7fcb9e4dba09
Parents: f2fc230
Author: Nick Wellnhofer <wellnhofer@aevum.de>
Authored: Sat May 18 02:02:22 2013 +0200
Committer: Nick Wellnhofer <wellnhofer@aevum.de>
Committed: Sat May 18 13:12:47 2013 +0200

----------------------------------------------------------------------
 charmonizer/charmonize.c                  |    5 -----
 clownfish/compiler/src/CFCBindCore.c      |    1 +
 clownfish/runtime/common/charmonizer.c    |    5 -----
 clownfish/runtime/common/charmonizer.main |    5 -----
 common/charmonizer.c                      |    5 -----
 common/charmonizer.main                   |    5 -----
 6 files changed, 1 insertions(+), 25 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/35d8cc93/charmonizer/charmonize.c
----------------------------------------------------------------------
diff --git a/charmonizer/charmonize.c b/charmonizer/charmonize.c
index 8c32c5d..b31ea6e 100644
--- a/charmonizer/charmonize.c
+++ b/charmonizer/charmonize.c
@@ -140,11 +140,6 @@ int main(int argc, char **argv) {
         "#endif\n\n"
     );
     chaz_ConfWriter_append_conf(
-        "#ifdef CHY_HAS_STDARG_H\n"
-        "  #include <stdarg.h>\n"
-        "#endif\n\n"
-    );
-    chaz_ConfWriter_append_conf(
         "#ifdef CHY_HAS_ALLOCA_H\n"
         "  #include <alloca.h>\n"
         "#elif defined(CHY_HAS_MALLOC_H)\n"

http://git-wip-us.apache.org/repos/asf/lucy/blob/35d8cc93/clownfish/compiler/src/CFCBindCore.c
----------------------------------------------------------------------
diff --git a/clownfish/compiler/src/CFCBindCore.c b/clownfish/compiler/src/CFCBindCore.c
index eff20eb..2959349 100644
--- a/clownfish/compiler/src/CFCBindCore.c
+++ b/clownfish/compiler/src/CFCBindCore.c
@@ -157,6 +157,7 @@ S_write_parcel_h(CFCBindCore *self) {
         "extern \"C\" {\n"
         "#endif\n"
         "\n"
+        "#include <stdarg.h>\n"
         "#include <stddef.h>\n"
         "#include \"charmony.h\"\n"
         "#include \"hostdefs.h\"\n"

http://git-wip-us.apache.org/repos/asf/lucy/blob/35d8cc93/clownfish/runtime/common/charmonizer.c
----------------------------------------------------------------------
diff --git a/clownfish/runtime/common/charmonizer.c b/clownfish/runtime/common/charmonizer.c
index f5fc0ab..d494373 100644
--- a/clownfish/runtime/common/charmonizer.c
+++ b/clownfish/runtime/common/charmonizer.c
@@ -6725,11 +6725,6 @@ int main(int argc, const char **argv) {
         "#endif\n\n"
     );
     chaz_ConfWriter_append_conf(
-        "#ifdef CHY_HAS_STDARG_H\n"
-        "  #include <stdarg.h>\n"
-        "#endif\n\n"
-    );
-    chaz_ConfWriter_append_conf(
         "#ifdef CHY_HAS_ALLOCA_H\n"
         "  #include <alloca.h>\n"
         "#elif defined(CHY_HAS_MALLOC_H)\n"

http://git-wip-us.apache.org/repos/asf/lucy/blob/35d8cc93/clownfish/runtime/common/charmonizer.main
----------------------------------------------------------------------
diff --git a/clownfish/runtime/common/charmonizer.main b/clownfish/runtime/common/charmonizer.main
index 4c72ebe..850c7c3 100644
--- a/clownfish/runtime/common/charmonizer.main
+++ b/clownfish/runtime/common/charmonizer.main
@@ -128,11 +128,6 @@ int main(int argc, const char **argv) {
         "#endif\n\n"
     );
     chaz_ConfWriter_append_conf(
-        "#ifdef CHY_HAS_STDARG_H\n"
-        "  #include <stdarg.h>\n"
-        "#endif\n\n"
-    );
-    chaz_ConfWriter_append_conf(
         "#ifdef CHY_HAS_ALLOCA_H\n"
         "  #include <alloca.h>\n"
         "#elif defined(CHY_HAS_MALLOC_H)\n"

http://git-wip-us.apache.org/repos/asf/lucy/blob/35d8cc93/common/charmonizer.c
----------------------------------------------------------------------
diff --git a/common/charmonizer.c b/common/charmonizer.c
index 3b51644..e065c93 100644
--- a/common/charmonizer.c
+++ b/common/charmonizer.c
@@ -7046,11 +7046,6 @@ int main(int argc, const char **argv) {
         "#endif\n\n"
     );
     chaz_ConfWriter_append_conf(
-        "#ifdef CHY_HAS_STDARG_H\n"
-        "  #include <stdarg.h>\n"
-        "#endif\n\n"
-    );
-    chaz_ConfWriter_append_conf(
         "#ifdef CHY_HAS_ALLOCA_H\n"
         "  #include <alloca.h>\n"
         "#elif defined(CHY_HAS_MALLOC_H)\n"

http://git-wip-us.apache.org/repos/asf/lucy/blob/35d8cc93/common/charmonizer.main
----------------------------------------------------------------------
diff --git a/common/charmonizer.main b/common/charmonizer.main
index f0cad62..e357203 100644
--- a/common/charmonizer.main
+++ b/common/charmonizer.main
@@ -449,11 +449,6 @@ int main(int argc, const char **argv) {
         "#endif\n\n"
     );
     chaz_ConfWriter_append_conf(
-        "#ifdef CHY_HAS_STDARG_H\n"
-        "  #include <stdarg.h>\n"
-        "#endif\n\n"
-    );
-    chaz_ConfWriter_append_conf(
         "#ifdef CHY_HAS_ALLOCA_H\n"
         "  #include <alloca.h>\n"
         "#elif defined(CHY_HAS_MALLOC_H)\n"


Mime
View raw message