summaryrefslogtreecommitdiff
path: root/usr.bin/xlint/lint2
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-11-23 18:21:45 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-11-23 18:21:45 +0000
commitbba04305e92227febae714b170b764fd97d8ba1c (patch)
treec03b8daaed3c69dae866eb8faa7455daaeaf5da2 /usr.bin/xlint/lint2
parentc2ed044382261c5793f8cfe05bfec6ce8c1c9b0e (diff)
adjust some default options (mostly, that lint always print full paths
in errors/warnings, so that compiling in dirs controlled by .PATH'd Makefiles gives useful errors
Diffstat (limited to 'usr.bin/xlint/lint2')
-rw-r--r--usr.bin/xlint/lint2/main2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/xlint/lint2/main2.c b/usr.bin/xlint/lint2/main2.c
index 08d19a1ec66..20e272d1b5e 100644
--- a/usr.bin/xlint/lint2/main2.c
+++ b/usr.bin/xlint/lint2/main2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main2.c,v 1.7 2005/11/20 17:42:50 deraadt Exp $ */
+/* $OpenBSD: main2.c,v 1.8 2005/11/23 18:21:44 deraadt Exp $ */
/* $NetBSD: main2.c,v 1.2 1995/07/03 21:24:53 cgd Exp $ */
/*
@@ -33,7 +33,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: main2.c,v 1.7 2005/11/20 17:42:50 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: main2.c,v 1.8 2005/11/23 18:21:44 deraadt Exp $";
#endif
#include <stdio.h>
@@ -75,7 +75,7 @@ int Hflag;
int hflag;
/* Print full path names, not only the last component */
-int Fflag;
+int Fflag = 1;
/*
* List of libraries (from -l flag). These libraries are read after all