From 17a93f72f3343e6839f625972ba743ec61441c49 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 8 Jan 2023 21:40:02 +0100 Subject: Partially implement libfonts_get_default_font, libfonts_get_{default,output}_rendering_settings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libfonts_getenv__.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'libfonts_getenv__.c') diff --git a/libfonts_getenv__.c b/libfonts_getenv__.c index d998337..8ea0ce6 100644 --- a/libfonts_getenv__.c +++ b/libfonts_getenv__.c @@ -1,5 +1,6 @@ /* See LICENSE file for copyright and license details. */ #include "common.h" +#ifndef TEST const char * @@ -28,3 +29,16 @@ ok: return *envp; return ctx->ignore_process_environ ? NULL : getenv(name); } + + +#else + + +int +main(void) +{ + return 0; /* TODO add test */ +} + + +#endif -- cgit v1.2.3-70-g09d2