diff options
| author | jvoisin | 2017-10-26 13:39:33 +0200 |
|---|---|---|
| committer | jvoisin | 2017-10-26 13:39:33 +0200 |
| commit | fa40064f0851b988478b283be4663ade1cf7f7e0 (patch) | |
| tree | 30026a4e5fe7f2f3793c968ce321f4f2cc44d0ef /src/sp_utils.h | |
| parent | 5964129ff04d797081a0b24fb9683a909e1cc0e3 (diff) | |
Remove an arbitrary limitation
Diffstat (limited to 'src/sp_utils.h')
| -rw-r--r-- | src/sp_utils.h | 2 |
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 | |||
| 54 | void sp_log_msg(char const *feature, char const *level, const char* fmt, ...); | 56 | void sp_log_msg(char const *feature, char const *level, const char* fmt, ...); |
| 55 | int compute_hash(const char *const filename, char *file_hash); | 57 | int compute_hash(const char *const filename, char *file_hash); |
| 56 | char *sp_convert_to_string(zval *); | 58 | char *sp_convert_to_string(zval *); |
