lib/string/strcmp/: streq(): Add function

Signed-off-by: Alejandro Colomar <alx@kernel.org>
This commit is contained in:
Alejandro Colomar
2024-11-10 23:07:19 -06:00
committed by Serge Hallyn
parent 73e58adc6b
commit 67c42427a0
3 changed files with 44 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
// SPDX-FileCopyrightText: 2024, Alejandro Colomar <alx@kernel.org>
// SPDX-License-Identifier: BSD-3-Clause
#include <config.h>
#include <stdbool.h>
#include "string/strcmp/streq.h"
extern inline bool streq(const char *s1, const char *s2);