diff options
| author | Mark Murray <markm@FreeBSD.org> | 2001-12-02 23:29:26 +0000 |
|---|---|---|
| committer | Mark Murray <markm@FreeBSD.org> | 2001-12-02 23:29:26 +0000 |
| commit | 6af414cb2e9b1eabdee1227833b967757da4716d (patch) | |
| tree | f3e83683bf2154c59973e240b26686135156ffd5 /usr.bin/cmp | |
| parent | 47faf123809e72c5334b0e499b37719d8c927952 (diff) | |
Notes
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 6ec82e4f8741..90a4c8e17c20 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 3d1e55f85b91..7a3d514a7fd8 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 258d86063967..686fc191f2c1 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 3c0b5ae17127..bf15a73fecb7 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 77d21bdd14e4..be37f492647e 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> |
