aboutsummaryrefslogtreecommitdiff
path: root/bin/cat/cat.c
diff options
context:
space:
mode:
authorPhilippe Charnier <charnier@FreeBSD.org>1998-05-06 06:49:16 +0000
committerPhilippe Charnier <charnier@FreeBSD.org>1998-05-06 06:49:16 +0000
commit4c95995fe073d4bf49b0dabd8e6725ae707a8eac (patch)
tree9b0b6f9047feafde9982ec3cd0e8ccc932f80cdd /bin/cat/cat.c
parent6009c5c36a629491ba21033763a16ea2938a8410 (diff)
downloadsrc-4c95995fe073d4bf49b0dabd8e6725ae707a8eac.tar.gz
src-4c95995fe073d4bf49b0dabd8e6725ae707a8eac.zip
Correct use of .Nm, .An and other cosmetics. Add rcsid. Remove unused #inc.
Notes
Notes: svn path=/head/; revision=35772
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 175f2f8be3ce..095f5a679480 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;