summaryrefslogtreecommitdiffstats
path: root/usr.bin/gencat/gencat.c
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>2002-03-26 12:39:08 +0000
committercharnier <charnier@FreeBSD.org>2002-03-26 12:39:08 +0000
commit86d3f6f7ce287bce795c388096171528a4b6d5d2 (patch)
tree2f21d0a1877b7042a8affde4f169eeea1287f5fb /usr.bin/gencat/gencat.c
parent6970613f93636814ed1bf0c9e67904da22f1b1df (diff)
downloadFreeBSD-src-86d3f6f7ce287bce795c388096171528a4b6d5d2.zip
FreeBSD-src-86d3f6f7ce287bce795c388096171528a4b6d5d2.tar.gz
Add FBSDID. Spelling. Remove unused includes. Check more malloc failures.
Diffstat (limited to 'usr.bin/gencat/gencat.c')
-rw-r--r--usr.bin/gencat/gencat.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/gencat/gencat.c b/usr.bin/gencat/gencat.c
index ead70d6..7826dfe 100644
--- a/usr.bin/gencat/gencat.c
+++ b/usr.bin/gencat/gencat.c
@@ -1,5 +1,3 @@
-/* $FreeBSD$ */
-
/***********************************************************
Copyright 1990, by Alfalfa Software Incorporated, Cambridge, Massachusetts.
@@ -32,7 +30,9 @@ up-to-date. Many thanks.
******************************************************************/
-#include <sys/types.h>
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include <sys/file.h>
#include <sys/stat.h>
#include <err.h>
@@ -46,7 +46,7 @@ up-to-date. Many thanks.
* The spec says the syntax is "gencat catfile msgfile...".
* We extend it to:
* gencat [-lang C|C++|ANSIC] catfile msgfile [-h <header-file>]...
- * Flags are order dependant, we'll take whatever lang was most recently chosen
+ * Flags are order dependent, we'll take whatever lang was most recently chosen
* and use it to generate the next header file. The header files are generated
* at the point in the command line they are listed. Thus the sequence:
* gencat -lang C foo.cat foo.mcs -h foo.h -lang C++ bar.mcs -h bar.H
OpenPOWER on IntegriCloud