diff options
author | Pavel Roskin <proskin@src.gnome.org> | 2001-06-14 03:17:16 +0800 |
---|---|---|
committer | Pavel Roskin <proskin@src.gnome.org> | 2001-06-14 03:17:16 +0800 |
commit | 98c843107b167bb35a67eef26bc76a979a0478be (patch) | |
tree | 9fddfcfa0c0844d7a403293290634ed9ab3bb4cc /macros/gperf-check.m4 | |
parent | 6bbcfe409475a5450fbe414ef1af7de5a6b35864 (diff) | |
download | gsoc2013-evolution-98c843107b167bb35a67eef26bc76a979a0478be.tar.gz gsoc2013-evolution-98c843107b167bb35a67eef26bc76a979a0478be.tar.zst gsoc2013-evolution-98c843107b167bb35a67eef26bc76a979a0478be.zip |
Always explicitly declare main() with the return type `int'. Don't use
* gnome-fileutils.m4: Always explicitly declare main() with the
return type `int'. Don't use exit() since it may be undeclared.
Use `return' instead.
* gnome-pilot.m4: Likewise.
* gperf-check.m4: Likewise.
* linger.m4: Likewise.
svn path=/trunk/; revision=10209
Diffstat (limited to 'macros/gperf-check.m4')
-rw-r--r-- | macros/gperf-check.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macros/gperf-check.m4 b/macros/gperf-check.m4 index 1b73d3f19d..3869459ebc 100644 --- a/macros/gperf-check.m4 +++ b/macros/gperf-check.m4 @@ -53,7 +53,7 @@ main () tmp_version = my_strdup("$min_gperf_version"); if (sscanf(tmp_version, "%d.%d", &major, &minor) != 2) { printf ("%s, bad version string\n", "$min_gperf_version"); - exit (1); + return 1; } if (($gperf_major_version > major) || |