diff options
author | craigm <none@none> | 2005-06-20 15:44:58 -0700 |
---|---|---|
committer | craigm <none@none> | 2005-06-20 15:44:58 -0700 |
commit | 78b6ed601aa3a251030edda42ce9770e9c21567a (patch) | |
tree | 5f3abc0a1530b93c6f97c7d70f9a8cafc23e0962 /usr/src/lib/libsys | |
parent | 8e56767d5805b843712c67bce2d732cc722f154b (diff) | |
download | illumos-joyent-78b6ed601aa3a251030edda42ce9770e9c21567a.tar.gz |
6274688 gcc and libsys don't get along
6274692 gcc and libtnf don't get along
6274693 gcc and libuuid don't get along
6274700 gcc and watchmalloc don't get along
6274771 gcc and ucbcmd/mkstr don't get along
6274819 gcc and ucbcmd/whoami don't get along
Diffstat (limited to 'usr/src/lib/libsys')
-rw-r--r-- | usr/src/lib/libsys/common/libsys.sh | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/usr/src/lib/libsys/common/libsys.sh b/usr/src/lib/libsys/common/libsys.sh index 42f42503ce..4da1d42b66 100644 --- a/usr/src/lib/libsys/common/libsys.sh +++ b/usr/src/lib/libsys/common/libsys.sh @@ -20,12 +20,14 @@ # # CDDL HEADER END # + # -#ident "%Z%%M% %I% %E% SMI" -# -# Copyright (c) 1995 by Sun Microsystems, Inc. -# All rights reserved. +# Copyright 2005 Sun Microsystems, Inc. All rights reserved. +# Use is subject to license terms. # + +#ident "%Z%%M% %I% %E% SMI" + # Stub library for programmer's interface to libsys. Used to satisfy ld(1) # processing, and serves as a precedence place-holder at execution-time. @@ -38,7 +40,7 @@ awk ' flag = ""; if ($1 == "f") { printf("void *\n%s%s()\n{\n", flag, $3); - printf("\t/*NOTREACHED*/\n}\n\n"); + printf("\t/*NOTREACHED*/\n\treturn (0);\n}\n\n"); } else { if ($4 == "1") printf("%s %s%s %s %s\n\n", $5, flag, $3, $6, $7); |