summaryrefslogtreecommitdiff
path: root/src/sp_utils.h
diff options
context:
space:
mode:
authorjvoisin2017-10-26 13:39:33 +0200
committerjvoisin2017-10-26 13:39:33 +0200
commitfa40064f0851b988478b283be4663ade1cf7f7e0 (patch)
tree30026a4e5fe7f2f3793c968ce321f4f2cc44d0ef /src/sp_utils.h
parent5964129ff04d797081a0b24fb9683a909e1cc0e3 (diff)
Remove an arbitrary limitation
Diffstat (limited to 'src/sp_utils.h')
-rw-r--r--src/sp_utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sp_utils.h b/src/sp_utils.h
index 751b0b1..a17ac4f 100644
--- a/src/sp_utils.h
+++ b/src/sp_utils.h
@@ -51,6 +51,8 @@
51 #define sp_log_debug(...) 51 #define sp_log_debug(...)
52#endif 52#endif
53 53
54#define GET_SUFFIX(x) (x==1)?"st":((x==2)?"nd":"th")
55
54void sp_log_msg(char const *feature, char const *level, const char* fmt, ...); 56void sp_log_msg(char const *feature, char const *level, const char* fmt, ...);
55int compute_hash(const char *const filename, char *file_hash); 57int compute_hash(const char *const filename, char *file_hash);
56char *sp_convert_to_string(zval *); 58char *sp_convert_to_string(zval *);