summaryrefslogtreecommitdiff
path: root/example.c
diff options
context:
space:
mode:
Diffstat (limited to 'example.c')
-rw-r--r--example.c4
1 files changed, 2 insertions, 2 deletions
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;
© All Rights Reserved