aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2018-11-20 11:48:38 +0000
committerEric Engestrom <[email protected]>2019-07-19 22:39:38 +0100
commit88ddb2e18646344df215becb86e70453c55ab2cd (patch)
treefea5ef5890177cefc5052be41d31827f29fdb426 /src/gallium
parent27b9eea5575bd2a7c5e84b299a9ebb1e025beb25 (diff)
util: use standard name for strncmp()
Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/auxiliary/hud/hud_context.c2
1 files changed, 1 insertions, 1 deletions
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;
}