summaryrefslogtreecommitdiff
path: root/scripts/kconfig/expr.c
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2024-08-12 21:48:50 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2024-09-01 20:34:48 +0900
commita9d83d74783b00f9189c14180f77bbed133b092c (patch)
treefaed29f1db80ea66727d6d9fd58b4147959359d0 /scripts/kconfig/expr.c
parent96490176f1e11947be2bdd2700075275e2c27310 (diff)
kbuild: split x*alloc() functions in kconfig to scripts/include/xalloc.h
These functions will be useful for other host programs. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/kconfig/expr.c')
-rw-r--r--scripts/kconfig/expr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/kconfig/expr.c b/scripts/kconfig/expr.c
index c349da7fe3f8..a16451347f63 100644
--- a/scripts/kconfig/expr.c
+++ b/scripts/kconfig/expr.c
@@ -9,6 +9,7 @@
#include <stdlib.h>
#include <string.h>
+#include <xalloc.h>
#include "lkc.h"
#define DEBUG_EXPR 0