summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ui/ui_null.c
diff options
context:
space:
mode:
authortb <>2023-02-16 08:38:17 +0000
committertb <>2023-02-16 08:38:17 +0000
commitb1fbdd21532891fac5b0f128e57331894bd69d84 (patch)
tree689defafde66dbfa38a7854af566bd9a05f191b7 /src/lib/libcrypto/ui/ui_null.c
parentee0f647faa09f91cb79b628dcb818adaa381af90 (diff)
downloadopenbsd-b1fbdd21532891fac5b0f128e57331894bd69d84.tar.gz
openbsd-b1fbdd21532891fac5b0f128e57331894bd69d84.tar.bz2
openbsd-b1fbdd21532891fac5b0f128e57331894bd69d84.zip
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
Diffstat (limited to 'src/lib/libcrypto/ui/ui_null.c')
-rw-r--r--src/lib/libcrypto/ui/ui_null.c4
1 files changed, 2 insertions, 2 deletions
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 @@
1/* $OpenBSD: ui_null.c,v 1.1 2022/12/17 21:59:39 tb Exp $ */ 1/* $OpenBSD: ui_null.c,v 1.2 2023/02/16 08:38:17 tb Exp $ */
2 2
3/* 3/*
4 * Written by Theo Buehler. Public domain. 4 * Written by Theo Buehler. Public domain.
@@ -15,4 +15,4 @@ UI_null(void)
15{ 15{
16 return &ui_null; 16 return &ui_null;
17} 17}
18LCRYPTO_ALIAS(UI_null) 18LCRYPTO_ALIAS(UI_null);