aboutsummaryrefslogtreecommitdiffstats
path: root/libfonts_get_output_dpi.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-01-08 11:11:55 +0100
committerMattias Andrée <maandree@kth.se>2023-01-08 11:11:55 +0100
commitaaf631e76df1e1a730b6a0ffb0d62b3ba661643e (patch)
tree1a737835a07eaebd3436a1fee19bf691f63d918b /libfonts_get_output_dpi.c
parentFix and test libfonts_get_default_font_name (diff)
downloadlibfonts-aaf631e76df1e1a730b6a0ffb0d62b3ba661643e.tar.gz
libfonts-aaf631e76df1e1a730b6a0ffb0d62b3ba661643e.tar.bz2
libfonts-aaf631e76df1e1a730b6a0ffb0d62b3ba661643e.tar.xz
Move test-todos into .c-files and add empty test functions
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libfonts_get_output_dpi.c')
-rw-r--r--libfonts_get_output_dpi.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/libfonts_get_output_dpi.c b/libfonts_get_output_dpi.c
index 17ae837..47fcb70 100644
--- a/libfonts_get_output_dpi.c
+++ b/libfonts_get_output_dpi.c
@@ -1,5 +1,6 @@
/* See LICENSE file for copyright and license details. */
#include "common.h"
+#ifndef TEST
static int
@@ -115,3 +116,16 @@ libfonts_get_output_dpi(struct libfonts_output *output, const char *edid)
return 1;
}
+
+
+#else
+
+
+int
+main(void) /* TODO add test */
+{
+ return 0;
+}
+
+
+#endif