From 8492f115890d56c98c1da24b9fdf26bb1b714c05 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Thu, 4 Jan 2024 20:36:02 -0300 Subject: Setup stub unit test infrastructure --- src/multibyte/wctob.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/multibyte/wctob.c') diff --git a/src/multibyte/wctob.c b/src/multibyte/wctob.c index b484a3fd..6933ce1d 100644 --- a/src/multibyte/wctob.c +++ b/src/multibyte/wctob.c @@ -9,3 +9,11 @@ int wctob(wint_t c) if (MB_CUR_MAX==1 && IS_CODEUNIT(c)) return (unsigned char)c; return EOF; } + + +#ifdef TEST +int +main(void) { + return 0; +} +#endif -- cgit v1.2.3