diff --git a/src/lib/misc.c b/src/lib/misc.c index ecfbfce..64e177d 100644 --- a/src/lib/misc.c +++ b/src/lib/misc.c @@ -13,6 +13,10 @@ #include +double multiply_cb(int a, int b) { return a * b; } +double subtract_cb(int a, int b) { return a - b; } +double sum_cb(int a, int b) { return a + b; } + int unlink_cb(const char *fpath, UNUSED const struct stat *sb, UNUSED int typeflag, UNUSED struct FTW *ftwbuf) { int rv = remove(fpath);