From b1fbdd21532891fac5b0f128e57331894bd69d84 Mon Sep 17 00:00:00 2001 From: tb <> Date: Thu, 16 Feb 2023 08:38:17 +0000 Subject: libressl *_namespace.h: adjust *_ALIAS() to require a semicolon LCRYPTO_ALIAS() and LSSL_ALIAS() contained a trailing semicolon. This does not conform to style(9), breaks editors and ctags and (most importantly) my workflow. Fix this by neutering them with asm("") so that -Wpedantic doesn't complain. There's precedent in libc's namespace.h fix suggested by & ok jsing --- src/lib/libcrypto/ui/ui_null.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/libcrypto/ui/ui_null.c') diff --git a/src/lib/libcrypto/ui/ui_null.c b/src/lib/libcrypto/ui/ui_null.c index 7bb7a90b2f..cbc9a5025b 100644 --- a/src/lib/libcrypto/ui/ui_null.c +++ b/src/lib/libcrypto/ui/ui_null.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ui_null.c,v 1.1 2022/12/17 21:59:39 tb Exp $ */ +/* $OpenBSD: ui_null.c,v 1.2 2023/02/16 08:38:17 tb Exp $ */ /* * Written by Theo Buehler. Public domain. @@ -15,4 +15,4 @@ UI_null(void) { return &ui_null; } -LCRYPTO_ALIAS(UI_null) +LCRYPTO_ALIAS(UI_null); -- cgit v1.2.3-55-g6feb