From bec526a77e49d5cdf372a56124d2de72efc88dc9 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Sun, 22 Dec 2024 07:11:53 +0300 Subject: [PATCH] utils: xar: fix xar build --- utils/xar/xar.c | 2 +- wscript | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/xar/xar.c b/utils/xar/xar.c index a8665973..cbbf9875 100644 --- a/utils/xar/xar.c +++ b/utils/xar/xar.c @@ -79,7 +79,7 @@ static void FS_CreatePath( char *path ) } } -void usage( const char *arg0 ) +static void usage( const char *arg0 ) { printf( "%s: [option...] \n", arg0 ); puts( "XAR is a simple frontend to Xash3D FWGS's filesystem_stdio library" ); diff --git a/wscript b/wscript index fa505d23..2e635e8d 100644 --- a/wscript +++ b/wscript @@ -392,6 +392,7 @@ def configure(conf): conf.env.TESTS = conf.options.TESTS conf.env.ENABLE_UTILS = conf.options.ENABLE_UTILS + conf.env.ENABLE_XAR = conf.options.ENABLE_XAR conf.env.ENABLE_FUZZER = conf.options.ENABLE_FUZZER conf.env.DEDICATED = conf.options.DEDICATED