Remove src/expr.h - everything in it is now in types.h or protos.h

This commit is contained in:
Dianne Skoll
2024-06-02 10:26:41 -04:00
parent c2b53f95a4
commit d77d9854d2
18 changed files with 25 additions and 50 deletions
+8
View File
@@ -228,3 +228,11 @@ void WriteJSONTimeTrigger(TimeTrig const *tt);
#include <wchar.h>
void PutWideChar(wchar_t const wc, DynamicBuffer *output);
#endif
/* These functions are in utils.c and are used to detect overflow
in various arithmetic operators. They have to be in separate
functions with extern linkage to defeat compiler optimizations
that would otherwise break the overflow checks. */
extern int _private_mul_overflow(int a, int b);
extern int _private_add_overflow(int a, int b);
extern int _private_sub_overflow(int a, int b);