summaryrefslogtreecommitdiff
path: root/usr.bin/true
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>2001-12-02 13:55:09 +0000
committerMark Murray <markm@FreeBSD.org>2001-12-02 13:55:09 +0000
commit9b3e907904bcfe704328b37fdf3bf0980290f934 (patch)
treed710a2e69daf5407e8a44556ece9b0ce790934ce /usr.bin/true
parentef0ea716d2f96736e9287160278bbbdb11fb724d (diff)
downloadsrc-test2-9b3e907904bcfe704328b37fdf3bf0980290f934.tar.gz
src-test2-9b3e907904bcfe704328b37fdf3bf0980290f934.zip
Notes
Diffstat (limited to 'usr.bin/true')
-rw-r--r--usr.bin/true/Makefile1
-rw-r--r--usr.bin/true/true.c9
2 files changed, 7 insertions, 3 deletions
diff --git a/usr.bin/true/Makefile b/usr.bin/true/Makefile
index 028a6ca75c9f..8ad6095741be 100644
--- a/usr.bin/true/Makefile
+++ b/usr.bin/true/Makefile
@@ -2,5 +2,6 @@
# $FreeBSD$
PROG= true
+WARNS?= 2
.include <bsd.prog.mk>
diff --git a/usr.bin/true/true.c b/usr.bin/true/true.c
index 0847cfa22568..ac17b6cce8a0 100644
--- a/usr.bin/true/true.c
+++ b/usr.bin/true/true.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[] = "@(#)true.c 8.1 (Berkeley) 6/9/93";
+static const char sccsid[] = "@(#)true.c 8.1 (Berkeley) 6/9/93";
#endif /* not lint */
+int
main()
{
- exit(0);
+ return 0;
}