summaryrefslogtreecommitdiff
path: root/macros/gnome-pilot.m4
diff options
context:
space:
mode:
authorPavel Roskin <proskin@src.gnome.org>2001-06-13 19:17:16 +0000
committerPavel Roskin <proskin@src.gnome.org>2001-06-13 19:17:16 +0000
commit89b5f842b950e5bdad7b6561cf0281e2be48d27b (patch)
tree5479afeb13210180997f0a924178a4b23a0eb32f /macros/gnome-pilot.m4
parent164775f05c4ac3c36275478f864af5d1e7e0cf86 (diff)
downloadshared-mime-info-89b5f842b950e5bdad7b6561cf0281e2be48d27b.tar.gz
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=1791
Diffstat (limited to 'macros/gnome-pilot.m4')
-rw-r--r--macros/gnome-pilot.m48
1 files changed, 4 insertions, 4 deletions
diff --git a/macros/gnome-pilot.m4 b/macros/gnome-pilot.m4
index 17d03ba8..f35e9b03 100644
--- a/macros/gnome-pilot.m4
+++ b/macros/gnome-pilot.m4
@@ -88,15 +88,15 @@ AC_DEFUN([PILOT_LINK_HOOK],[
if (PILOT_LINK_VERSION == $pl_ve) {
if (PILOT_LINK_MAJOR == $pl_ma) {
if (PILOT_LINK_MINOR >= $pl_mi) {
- exit(0);
+ return 0;
}
} else if (PILOT_LINK_MAJOR > $pl_ma) {
- exit(0);
+ return 0;
}
} else if (PILOT_LINK_VERSION > $pl_ve) {
- exit(0);
+ return 0;
}
- exit(1);
+ return 1;
}
],
[AC_MSG_RESULT(yes (found $PILOT_LINK_VERSION))],