Sign in
llvm
/
polly
/
9e6d1aae52372f9fa6b1a75dc5537791760069ec
/
.
/
rc5
/
lib
/
External
/
ppcg
/
util.h
blob: 6c29a150e4d16d8767d9970aad18001739c29d9c [
file
] [
log
] [
blame
]
#ifndef
UTIL_H
#define
UTIL_H
#include
<string.h>
/* Compare the prefix of "s" to "prefix" up to the length of "prefix".
*/
static
inline
int
prefixcmp
(
const
char
*
s
,
const
char
*
prefix
)
{
return
strncmp
(
s
,
prefix
,
strlen
(
prefix
));
}
#endif