Module Name: src Committed By: rillig Date: Thu Feb 20 18:33:35 UTC 2025
Modified Files: src/usr.bin/deroff: deroff.c Log Message: deroff: remove unused macro The '\cp' in the macro's expansion triggered a lint warning about the dubious character escape '\c'. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/usr.bin/deroff/deroff.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/deroff/deroff.c diff -u src/usr.bin/deroff/deroff.c:1.12 src/usr.bin/deroff/deroff.c:1.13 --- src/usr.bin/deroff/deroff.c:1.12 Sun Feb 3 03:19:29 2019 +++ src/usr.bin/deroff/deroff.c Thu Feb 20 18:33:35 2025 @@ -1,4 +1,4 @@ -/* $NetBSD: deroff.c,v 1.12 2019/02/03 03:19:29 mrg Exp $ */ +/* $NetBSD: deroff.c,v 1.13 2025/02/20 18:33:35 rillig Exp $ */ /* taken from: OpenBSD: deroff.c,v 1.6 2004/06/02 14:58:46 tom Exp */ @@ -65,7 +65,7 @@ */ #include <sys/cdefs.h> -__RCSID("$NetBSD: deroff.c,v 1.12 2019/02/03 03:19:29 mrg Exp $"); +__RCSID("$NetBSD: deroff.c,v 1.13 2025/02/20 18:33:35 rillig Exp $"); #include <err.h> #include <limits.h> @@ -913,7 +913,6 @@ msputwords(int macline) * put out a macro using the me conventions */ #define SKIPBLANK(cp) while (*cp == ' ' || *cp == '\t') { cp++; } -#define SKIPNONBLANK(cp) while (*cp !=' ' && *cp !='\cp' && *cp !='\0') { cp++; } static void meputmac(char *cp, int constant)