commit: bd7d952419209684f1d63a2134d88974b907d3a2
parent 4cdf14a67781289ee1920f6e882476a65c86dc74
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Fri, 13 Sep 2024 02:36:42 +0200
cmd/paste: get rid of BSD-isms
Diffstat:
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/cmd/paste.c b/cmd/paste.c
@@ -32,17 +32,6 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-static const char copyright[] = "@(#) Copyright (c) 1989, 1993\n\
- The Regents of the University of California. All rights reserved.\n";
-#endif /* not lint */
-
-#if 0
-#ifndef lint
-static char sccsid[] = "@(#)paste.c 8.1 (Berkeley) 6/6/93";
-#endif /* not lint */
-#endif
-
#include <err.h>
#include <errno.h>
#include <limits.h>
@@ -50,7 +39,6 @@ static char sccsid[] = "@(#)paste.c 8.1 (Berkeley) 6/6/93";
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <sys/cdefs.h>
#include <sys/types.h>
#include <unistd.h>
#include <wchar.h>
@@ -61,7 +49,7 @@ static int delimcnt;
static int parallel(char **);
static int sequential(char **);
static int tr(wchar_t *);
-static void usage(void) __dead2;
+static void usage(void);
static wchar_t tab[] = L"\t";