summaryrefslogtreecommitdiff
path: root/addon.h
diff options
context:
space:
mode:
Diffstat (limited to 'addon.h')
-rw-r--r--addon.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/addon.h b/addon.h
index b4a207b..4a69375 100644
--- a/addon.h
+++ b/addon.h
@@ -16,13 +16,16 @@
argument is followed by a NULL pointer.
Builtins report their exit status using set(TRUE) or set(FALSE).
-
+
*/
#if RC_ADDON
-#define ADDONS { b_add, "+" },
+#define ADDONS \
+ { b_sum, "+" }, \
+ { b_prod, "x" },
-extern void b_add(char **av);
+extern void b_sum(char **av);
+extern void b_prod(char **av);
#endif