diff options
author | James Henstridge <james@jamesh.id.au> | 2005-12-12 09:38:15 +0000 |
---|---|---|
committer | James Henstridge <jamesh@src.gnome.org> | 2005-12-12 09:38:15 +0000 |
commit | aa5ac8fc10d5c04fbdf78145aa5d933685ec796d (patch) | |
tree | e05a16735aaa79cad15fb143b6ee0aded6bcb99b /examples | |
parent | a7db1f4dfd236013291bbfd62deda29c3aa2070c (diff) | |
download | libgtop-aa5ac8fc10d5c04fbdf78145aa5d933685ec796d.tar.gz |
remove unused file.
2005-12-12 James Henstridge <james@jamesh.id.au>
* doc/auto-macros.texi.in: remove unused file.
* doc/libgtop2.texi: don't include auto-macros.texi.
* doc/Makefile.am: don't build auto-macros.texi, since none of its
macros are used in the documentation any more.
* include/glibtop/global.h: don't include <config.h> from headers.
* .../*.c: make sure <config.h> is the first thing included.
* acinclude.m4: m4_include() libgtop-sysdeps.m4 rather than
inlining it.
* acinclude.m4, libgtop-sysdeps.m4: use third argument to
AC_DEFINE() to set the comment.
* configure.in: modernise a bit.
* acconfig.h: remove file, since it is deprecated
* autogen.sh: require automake 1.9 instead of 1.4.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/df.c | 3 | ||||
-rw-r--r-- | examples/first.c | 4 | ||||
-rw-r--r-- | examples/mountlist.c | 4 | ||||
-rw-r--r-- | examples/netlist.c | 4 | ||||
-rw-r--r-- | examples/netload.c | 4 | ||||
-rw-r--r-- | examples/openfiles.c | 4 | ||||
-rw-r--r-- | examples/pprint.c | 4 | ||||
-rw-r--r-- | examples/procargs.c | 4 | ||||
-rw-r--r-- | examples/procmap.c | 4 | ||||
-rw-r--r-- | examples/second.c | 4 | ||||
-rw-r--r-- | examples/sysdeps.c | 4 | ||||
-rw-r--r-- | examples/timings.c | 4 |
12 files changed, 47 insertions, 0 deletions
diff --git a/examples/df.c b/examples/df.c index b0295a46..6537ce44 100644 --- a/examples/df.c +++ b/examples/df.c @@ -1,3 +1,6 @@ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif #include <glibtop.h> #include <glibtop/fsusage.h> diff --git a/examples/first.c b/examples/first.c index fc907a73..199b2871 100644 --- a/examples/first.c +++ b/examples/first.c @@ -21,6 +21,10 @@ Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + #include <locale.h> #include <libintl.h> #include <stdio.h> diff --git a/examples/mountlist.c b/examples/mountlist.c index f4a07d87..7118514b 100644 --- a/examples/mountlist.c +++ b/examples/mountlist.c @@ -21,6 +21,10 @@ Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + #include <locale.h> #include <libintl.h> #include <stdio.h> diff --git a/examples/netlist.c b/examples/netlist.c index 686d733a..7f7ac773 100644 --- a/examples/netlist.c +++ b/examples/netlist.c @@ -18,6 +18,10 @@ Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + #include <stdio.h> #include <glibtop.h> diff --git a/examples/netload.c b/examples/netload.c index a9439bdd..a28ea82c 100644 --- a/examples/netload.c +++ b/examples/netload.c @@ -21,6 +21,10 @@ Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + #include <locale.h> #include <libintl.h> #include <stdio.h> diff --git a/examples/openfiles.c b/examples/openfiles.c index f4f0fd1b..9811fe0e 100644 --- a/examples/openfiles.c +++ b/examples/openfiles.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + #include <glibtop.h> #include <glibtop/procopenfiles.h> diff --git a/examples/pprint.c b/examples/pprint.c index 59e55476..31dfdb0a 100644 --- a/examples/pprint.c +++ b/examples/pprint.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + #include <glibtop.h> #include <glibtop/union.h> diff --git a/examples/procargs.c b/examples/procargs.c index 0bf4711d..d5bd1fdd 100644 --- a/examples/procargs.c +++ b/examples/procargs.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + #include <glibtop.h> #include <glibtop/procargs.h> diff --git a/examples/procmap.c b/examples/procmap.c index d3e251ff..17501125 100644 --- a/examples/procmap.c +++ b/examples/procmap.c @@ -21,6 +21,10 @@ Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + #include <locale.h> #include <libintl.h> #include <stdio.h> diff --git a/examples/second.c b/examples/second.c index cb5a7a5b..7ffee635 100644 --- a/examples/second.c +++ b/examples/second.c @@ -21,6 +21,10 @@ Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + #include <locale.h> #include <math.h> #include <stdio.h> diff --git a/examples/sysdeps.c b/examples/sysdeps.c index 61fee334..a1205fcd 100644 --- a/examples/sysdeps.c +++ b/examples/sysdeps.c @@ -21,6 +21,10 @@ Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + #include <locale.h> #include <libintl.h> #include <stdio.h> diff --git a/examples/timings.c b/examples/timings.c index 311b120d..09e67d25 100644 --- a/examples/timings.c +++ b/examples/timings.c @@ -21,6 +21,10 @@ Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + #include <locale.h> #include <stdio.h> #include <libintl.h> |