From 88ddb2e18646344df215becb86e70453c55ab2cd Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Tue, 20 Nov 2018 11:48:38 +0000 Subject: util: use standard name for strncmp() Signed-off-by: Eric Engestrom Reviewed-by: Eric Anholt Reviewed-by: Emil Velikov Reviewed-by: Eric Anholt --- src/gallium/auxiliary/hud/hud_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium') diff --git a/src/gallium/auxiliary/hud/hud_context.c b/src/gallium/auxiliary/hud/hud_context.c index 9f9db850a71..e7e99944993 100644 --- a/src/gallium/auxiliary/hud/hud_context.c +++ b/src/gallium/auxiliary/hud/hud_context.c @@ -1195,7 +1195,7 @@ hud_parse_env_var(struct hud_context *hud, struct pipe_screen *screen, boolean sort_items = false; const char *period_env; - if (util_strncmp(env, "simple,", 7) == 0) { + if (strncmp(env, "simple,", 7) == 0) { hud->simple = true; env += 7; } -- cgit v1.2.3