From 7cebc41015841ff97fd02ae83bc7024bb982539a Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 25 Jan 2026 12:44:41 +0100 Subject: Use a macro for all utils that do not take arguments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- convert-to-monospace.c | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'convert-to-monospace.c') diff --git a/convert-to-monospace.c b/convert-to-monospace.c index 33e114c..4050171 100644 --- a/convert-to-monospace.c +++ b/convert-to-monospace.c @@ -1,18 +1,4 @@ /* See LICENSE file for copyright and license details. */ #include "common.h" -USAGE(""); - - -int -main(int argc, char *argv[]) -{ - ARGBEGIN { - default: - usage(); - } ARGEND; - if (argc) - usage(); - - return convert(&libcharconv_monospace); -} +SIMPLE(libcharconv_monospace) -- cgit v1.2.3-70-g09d2