summaryrefslogtreecommitdiffstats
path: root/usr.bin/false
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2001-12-02 13:55:09 +0000
committermarkm <markm@FreeBSD.org>2001-12-02 13:55:09 +0000
commit085302d146ecd09a83ae93b3879c8121e5883281 (patch)
treed710a2e69daf5407e8a44556ece9b0ce790934ce /usr.bin/false
parent11e67a93424d6a1809a70fc2ef1afa71e49ea0cd (diff)
downloadFreeBSD-src-085302d146ecd09a83ae93b3879c8121e5883281.zip
FreeBSD-src-085302d146ecd09a83ae93b3879c8121e5883281.tar.gz
WARNS=2 fixup.
Diffstat (limited to 'usr.bin/false')
-rw-r--r--usr.bin/false/Makefile2
-rw-r--r--usr.bin/false/false.c9
2 files changed, 8 insertions, 3 deletions
diff --git a/usr.bin/false/Makefile b/usr.bin/false/Makefile
index ed511ab..891e534 100644
--- a/usr.bin/false/Makefile
+++ b/usr.bin/false/Makefile
@@ -1,5 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
+# $FreeBSD$
PROG= false
+WARNS?= 2
.include <bsd.prog.mk>
diff --git a/usr.bin/false/false.c b/usr.bin/false/false.c
index 3bb8c00..11d69ae 100644
--- a/usr.bin/false/false.c
+++ b/usr.bin/false/false.c
@@ -29,19 +29,22 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
+ *
+ * $FreeBSD$
*/
#ifndef lint
-static char copyright[] =
+static const char copyright[] =
"@(#) Copyright (c) 1988, 1993\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#ifndef lint
-static char sccsid[] = "@(#)false.c 8.1 (Berkeley) 6/6/93";
+static const char sccsid[] = "@(#)false.c 8.1 (Berkeley) 6/6/93";
#endif /* not lint */
+int
main()
{
- exit(1);
+ return 1;
}
OpenPOWER on IntegriCloud