]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
Mark dispatch functions as public API
authorMatthew Barr <matthew.barr@intel.com>
Mon, 12 Dec 2016 22:03:36 +0000 (09:03 +1100)
committerMatthew Barr <matthew.barr@intel.com>
Wed, 14 Dec 2016 04:35:44 +0000 (15:35 +1100)
src/dispatcher.c

index 810a529901053d2794e296fb0a036ac978058485..fb2f4f02a6578e73a26457e6f5dcd716617ac197 100644 (file)
@@ -60,6 +60,7 @@
     }                                                                          \
                                                                                \
     /* function */                                                             \
+    HS_PUBLIC_API                                                              \
     RTYPE NAME(__VA_ARGS__) __attribute__((ifunc("resolve_" #NAME)))
 
 CREATE_DISPATCH(hs_error_t, hs_scan, const hs_database_t *db, const char *data,