summaryrefslogtreecommitdiffstats
path: root/bin/cat/cat.c
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>1998-05-06 06:49:16 +0000
committercharnier <charnier@FreeBSD.org>1998-05-06 06:49:16 +0000
commit32338c8e0512ee1c5643fd65a793a21fabadfcfa (patch)
tree2670fd97194d78e63f50c73e3df30a4acf534298 /bin/cat/cat.c
parentd87cd7430cf3cdd7e6db28a07f1af90d74f9fe24 (diff)
downloadFreeBSD-src-32338c8e0512ee1c5643fd65a793a21fabadfcfa.zip
FreeBSD-src-32338c8e0512ee1c5643fd65a793a21fabadfcfa.tar.gz
Correct use of .Nm, .An and other cosmetics. Add rcsid. Remove unused #inc.
Diffstat (limited to 'bin/cat/cat.c')
-rw-r--r--bin/cat/cat.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/cat/cat.c b/bin/cat/cat.c
index 175f2f8..095f5a6 100644
--- a/bin/cat/cat.c
+++ b/bin/cat/cat.c
@@ -32,8 +32,6 @@
* 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.
- *
- * $Id: cat.c,v 1.8 1997/02/22 14:01:26 peter Exp $
*/
#ifndef lint
@@ -43,7 +41,11 @@ static char const copyright[] =
#endif /* not lint */
#ifndef lint
+#if 0
static char const sccsid[] = "@(#)cat.c 8.2 (Berkeley) 4/27/95";
+#endif
+static const char rcsid[] =
+ "$Id$";
#endif /* not lint */
#include <sys/param.h>
@@ -51,12 +53,10 @@ static char const sccsid[] = "@(#)cat.c 8.2 (Berkeley) 4/27/95";
#include <ctype.h>
#include <err.h>
-#include <errno.h>
#include <fcntl.h>
#include <locale.h>
#include <stdio.h>
#include <stdlib.h>
-#include <string.h>
#include <unistd.h>
int bflag, eflag, nflag, sflag, tflag, vflag;
OpenPOWER on IntegriCloud