From 728cf3633c44e44be8ef0d12a09acbd2d18cdf71 Mon Sep 17 00:00:00 2001 From: John Kerl Date: Sat, 26 Sep 2015 22:08:10 -0400 Subject: [PATCH] standardize CFLAGS usage --- c/lib/mlrutil.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/c/lib/mlrutil.h b/c/lib/mlrutil.h index ae5b144af..792d88104 100644 --- a/c/lib/mlrutil.h +++ b/c/lib/mlrutil.h @@ -22,7 +22,7 @@ static inline int mlr_canonical_mod(int a, int n) { // ---------------------------------------------------------------- // strcmp computes signs; we don't need that -- only equality or inequality. -static inline int streq(char* restrict a, char* restrict b) { +static inline int streq(char* a, char* b) { #if 0 // performance comparison return !strcmp(a, b); #else @@ -39,7 +39,7 @@ static inline int streq(char* restrict a, char* restrict b) { } // strncmp computes signs; we don't need that -- only equality or inequality. -static inline int streqn(char* restrict a, char* restrict b, int n) { +static inline int streqn(char* a, char* b, int n) { #if 0 // performance comparison return !strncmp(a, b, n); #else