summaryrefslogtreecommitdiff
path: root/cmd/srv9p/static9p.c
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-11-21 23:51:38 -0700
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-11-23 13:56:38 -0700
commit0615af6f4748e4f7dc6a4f034a9db636742cc3bd (patch)
treea0c09720ca4c8670869b56d03e57431b46073f75 /cmd/srv9p/static9p.c
parent3064cb13577edd31d3a3ceb79b2bc72314ec208b (diff)
Use C23 (C++11) attribute syntax instead of __attribute__
Diffstat (limited to 'cmd/srv9p/static9p.c')
-rw-r--r--cmd/srv9p/static9p.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/srv9p/static9p.c b/cmd/srv9p/static9p.c
index 90f3856..b5b18e0 100644
--- a/cmd/srv9p/static9p.c
+++ b/cmd/srv9p/static9p.c
@@ -9,7 +9,7 @@
#include "static9p.h"
-#define UNUSED(name) /* name __attribute__((unused)) */
+#define UNUSED(name)
#define p9_str(cstr) ((struct lib9p_s){ .len = strlen(cstr), .utf8 = cstr })
#define p9_nulstr ((struct lib9p_s){ .len = 0, .utf8 = NULL })