diff options
author | markm <markm@FreeBSD.org> | 2001-12-02 23:29:26 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2001-12-02 23:29:26 +0000 |
commit | 155bbc12c791bd47bd59c47f7468a5183700002c (patch) | |
tree | f3e83683bf2154c59973e240b26686135156ffd5 /usr.bin/cmp | |
parent | fc2e4b54ecdf167db87f8a8a882f7c1350c1c304 (diff) | |
download | FreeBSD-src-155bbc12c791bd47bd59c47f7468a5183700002c.zip FreeBSD-src-155bbc12c791bd47bd59c47f7468a5183700002c.tar.gz |
Turn on WARNS=2.
Use __FBSDID().
Diffstat (limited to 'usr.bin/cmp')
-rw-r--r-- | usr.bin/cmp/Makefile | 1 | ||||
-rw-r--r-- | usr.bin/cmp/cmp.c | 11 | ||||
-rw-r--r-- | usr.bin/cmp/misc.c | 9 | ||||
-rw-r--r-- | usr.bin/cmp/regular.c | 9 | ||||
-rw-r--r-- | usr.bin/cmp/special.c | 9 |
5 files changed, 22 insertions, 17 deletions
diff --git a/usr.bin/cmp/Makefile b/usr.bin/cmp/Makefile index 6ec82e4..90a4c8e 100644 --- a/usr.bin/cmp/Makefile +++ b/usr.bin/cmp/Makefile @@ -3,5 +3,6 @@ PROG= cmp SRCS= cmp.c misc.c regular.c special.c +WARNS?= 2 .include <bsd.prog.mk> diff --git a/usr.bin/cmp/cmp.c b/usr.bin/cmp/cmp.c index 3d1e55f..7a3d514 100644 --- a/usr.bin/cmp/cmp.c +++ b/usr.bin/cmp/cmp.c @@ -29,20 +29,21 @@ * 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$ - * */ +#include <sys/cdefs.h> + +__FBSDID("$FreeBSD$"); + #ifndef lint static const char copyright[] = "@(#) Copyright (c) 1987, 1990, 1993, 1994\n\ The Regents of the University of California. All rights reserved.\n"; -#endif /* not lint */ +#endif #ifndef lint static const char sccsid[] = "@(#)cmp.c 8.3 (Berkeley) 4/2/94"; -#endif /* not lint */ +#endif #include <sys/types.h> #include <sys/stat.h> diff --git a/usr.bin/cmp/misc.c b/usr.bin/cmp/misc.c index 258d860..686fc19 100644 --- a/usr.bin/cmp/misc.c +++ b/usr.bin/cmp/misc.c @@ -29,14 +29,15 @@ * 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$ - * */ +#include <sys/cdefs.h> + +__FBSDID("$FreeBSD$"); + #ifndef lint static const char sccsid[] = "@(#)misc.c 8.3 (Berkeley) 4/2/94"; -#endif /* not lint */ +#endif #include <sys/types.h> diff --git a/usr.bin/cmp/regular.c b/usr.bin/cmp/regular.c index 3c0b5ae..bf15a73 100644 --- a/usr.bin/cmp/regular.c +++ b/usr.bin/cmp/regular.c @@ -29,14 +29,15 @@ * 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$ - * */ +#include <sys/cdefs.h> + +__FBSDID("$FreeBSD$"); + #ifndef lint static const char sccsid[] = "@(#)regular.c 8.3 (Berkeley) 4/2/94"; -#endif /* not lint */ +#endif #include <sys/param.h> #include <sys/mman.h> diff --git a/usr.bin/cmp/special.c b/usr.bin/cmp/special.c index 77d21bd..be37f49 100644 --- a/usr.bin/cmp/special.c +++ b/usr.bin/cmp/special.c @@ -29,14 +29,15 @@ * 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$ - * */ +#include <sys/cdefs.h> + +__FBSDID("$FreeBSD$"); + #ifndef lint static const char sccsid[] = "@(#)special.c 8.3 (Berkeley) 4/2/94"; -#endif /* not lint */ +#endif #include <sys/types.h> |