From 691ce2b8436a02eae1132af6aadc54494cd5d9d9 Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Sun, 11 Oct 1998 18:15:45 +0000 Subject: [PATCH] Declared all `glibtop_guile_get_*' functions static. 1998-10-11 Martin Baulig * guile.awk: Declared all `glibtop_guile_get_*' functions static. --- sysdeps/guile/ChangeLog | 2 ++ sysdeps/guile/guile.awk | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/sysdeps/guile/ChangeLog b/sysdeps/guile/ChangeLog index a27774b5..c353a4eb 100644 --- a/sysdeps/guile/ChangeLog +++ b/sysdeps/guile/ChangeLog @@ -1,5 +1,7 @@ 1998-10-11 Martin Baulig + * guile.awk: Declared all `glibtop_guile_get_*' functions static. + * Makefile.am (BUILT_SOURCES, CLEANFILES): Added `guile.x'. Added rule to make `guile.x' from `guile.c' using guile-snarf. diff --git a/sysdeps/guile/guile.awk b/sysdeps/guile/guile.awk index 52872422..27f47c03 100644 --- a/sysdeps/guile/guile.awk +++ b/sysdeps/guile/guile.awk @@ -69,7 +69,7 @@ function make_output(line) { output = output" "nr_params_field[feature]", 0, 0, "; output = output"glibtop_guile_get_"feature");\n\n"; - output = output"SCM\nglibtop_guile_get_"feature" ("param_decl")\n{\n"; + output = output"static SCM\nglibtop_guile_get_"feature" ("param_decl")\n{\n"; output = output"\tglibtop_"feature" "feature";\n"; if (retval != "void") @@ -126,7 +126,6 @@ END { print "void"; print "glibtop_boot_guile (void)"; print "{"; - print "fprintf (stderr, \"glibtop_boot_guile ()\\n\");"; print "#include \"guile.x\""; print "}"; }