From 31dea83f4e5f3e57c3fc05d8ad01a58dc844c2c7 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Wed, 4 Nov 2020 15:41:08 -0800 Subject: thunk: s/THUNK_DEFINE/THUNK_DEFINE_STATIC/ In preparation for supporting both public and private thunk defines, convert the current assumed-private one to use a _STATIC suffix. --- example.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'example.c') diff --git a/example.c b/example.c index 5aa5e43..af341c6 100644 --- a/example.c +++ b/example.c @@ -4,14 +4,14 @@ #include "thunk.h" -THUNK_DEFINE(sum, int, a, int, b, int *, res) +THUNK_DEFINE_STATIC(sum, int, a, int, b, int *, res) { *res = a + b; return 0; } -THUNK_DEFINE(mult, int, a, int, b, int, c, int *, res) +THUNK_DEFINE_STATIC(mult, int, a, int, b, int, c, int *, res) { *res = a * b * c; -- cgit v1.2.3