aboutsummaryrefslogtreecommitdiffstats
path: root/libfonts_getenv__.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-01-08 21:40:02 +0100
committerMattias Andrée <maandree@kth.se>2023-01-08 21:40:02 +0100
commit17a93f72f3343e6839f625972ba743ec61441c49 (patch)
tree7fc53e253e9e2aefad0f9a8d10edff0524198c75 /libfonts_getenv__.c
parentFix error handling (diff)
downloadlibfonts-17a93f72f3343e6839f625972ba743ec61441c49.tar.gz
libfonts-17a93f72f3343e6839f625972ba743ec61441c49.tar.bz2
libfonts-17a93f72f3343e6839f625972ba743ec61441c49.tar.xz
Partially implement libfonts_get_default_font, libfonts_get_{default,output}_rendering_settings
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libfonts_getenv__.c')
-rw-r--r--libfonts_getenv__.c14
1 files changed, 14 insertions, 0 deletions
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