summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorCorey Farrell <git@cfware.com>2018-01-25 02:37:32 -0500
committerCorey Farrell <git@cfware.com>2018-01-25 10:38:45 -0500
commit23381d2c5ea84cb45e41163b81c3b7bb43a9db75 (patch)
tree633dcd16c3f30644c55d942876b18c778fc3c9ee /utils
parent6fbd85522896c9c94281ed775c98a041721de424 (diff)
Build System: Require __sync or __atomic functions.
This change causes the configure script to throw an error if neither __sync nor __atomic builtin functions are available. ASTERISK-27619 Change-Id: Ie01a281e0f5c41dfeeb5f250c1ccea8752f56ef9
Diffstat (limited to 'utils')
-rw-r--r--utils/check_expr.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/utils/check_expr.c b/utils/check_expr.c
index e15705e1b..1e4b9d175 100644
--- a/utils/check_expr.c
+++ b/utils/check_expr.c
@@ -143,13 +143,6 @@ int check_eval(char *buffer, char *error_report);
void parse_file(const char *fname);
int ast_add_profile(const char *x, uint64_t scale) { return 0;}
-int ast_atomic_fetchadd_int_slow(volatile int *p, int v)
-{
- int ret;
- ret = *p;
- *p += v;
- return ret;
-}
char *find_var(const char *varname) /* the list should be pretty short, if there's any list at all */
{