aboutsummaryrefslogtreecommitdiffstats
path: root/macros/gnome-pilot.m4
diff options
context:
space:
mode:
authorPavel Roskin <proskin@src.gnome.org>2001-06-14 03:17:16 +0800
committerPavel Roskin <proskin@src.gnome.org>2001-06-14 03:17:16 +0800
commit98c843107b167bb35a67eef26bc76a979a0478be (patch)
tree9fddfcfa0c0844d7a403293290634ed9ab3bb4cc /macros/gnome-pilot.m4
parent6bbcfe409475a5450fbe414ef1af7de5a6b35864 (diff)
downloadgsoc2013-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/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 17d03ba824..f35e9b0399 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))],
d>2010-02-051-1/+1 * -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.mezz2009-08-031-1/+1 * - bump all port that indirectly depends on libjpeg and have not yet been bump...dinoex2009-07-311-1/+1 * Bump PORTREVISION's after OpenLDAP update.delphij2009-01-061-0/+1 * The KDE FreeBSD team is proud to announce the releasemiwi2008-08-292-3/+6 * The KDE FreeBSD team is proud to announce the releasemiwi2008-08-182-4/+3 * Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-0/+1 * Update to KDE 3.5.8lofi2007-10-303-4/+10