mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-22 07:30:43 +00:00
standardize CFLAGS usage
This commit is contained in:
parent
e0fe591d25
commit
728cf3633c
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue