diff options
author | grant <grant@pkgsrc.org> | 2004-01-12 10:08:37 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2004-01-12 10:08:37 +0000 |
commit | 1ab78e5ed0af9f0ecd97e12724468ad133fdc4ca (patch) | |
tree | 2194e311afbcbcc5db7a651fc99388aa4416032e | |
parent | 283ddf3f8f5e804effb21330bfebd79abb627090 (diff) | |
download | pkgsrc-1ab78e5ed0af9f0ecd97e12724468ad133fdc4ca.tar.gz |
show-shlib-type: use return(0) instead of exit(0). eliminates a
warning from non-gcc. ok'd by agc.
-rw-r--r-- | mk/bsd.pkg.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 159a7bea5f4..dd4b79ef317 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.1342 2004/01/10 09:52:56 grant Exp $ +# $NetBSD: bsd.pkg.mk,v 1.1343 2004/01/12 10:08:37 grant Exp $ # # This file is in the public domain. # @@ -2983,7 +2983,7 @@ show-shlib-type: cd ${WRKDIR} && \ sotype=none; \ if [ "X${MKPIC}" != "Xno" -a "X${NOPIC}" = "X" ]; then \ - ${ECHO} "int main() { exit(0); }" > a.$$$$.c; \ + ${ECHO} "int main() { return(0); }" > a.$$$$.c; \ ${CC} ${CFLAGS} a.$$$$.c -o a.$$$$.out; \ case `${FILE_CMD} a.$$$$.out` in \ *ELF*dynamically*) \ |