aboutsummaryrefslogtreecommitdiff
path: root/src/render.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-03-11 23:17:06 +0100
committerThomas White <taw@physics.org>2018-03-11 23:21:52 +0100
commitc7a86a47001baca65c87d0f060f9a57af8537cf2 (patch)
treeb5a2ae1e710d7efc1e6830f3323edab5082d5759 /src/render.c
parent2975d15b76c5321d9facae06266fbc17dc99492b (diff)
Rename some functions to make them unique
Makes things less confusing. Ulterior motive: makes Meson unity builds work.
Diffstat (limited to 'src/render.c')
-rw-r--r--src/render.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/render.c b/src/render.c
index 40ab78b..f1ff019 100644
--- a/src/render.c
+++ b/src/render.c
@@ -41,6 +41,7 @@
#include "frame.h"
#include "render.h"
#include "imagestore.h"
+#include "utils.h"
static void do_background(cairo_t *cr, struct frame *fr)
@@ -274,14 +275,6 @@ cairo_surface_t *render_sc(SCBlock *scblocks, int w, int h,
}
-static int safe_strcmp(const char *a, const char *b)
-{
- if ( a == NULL ) return 1;
- if ( b == NULL ) return 1;
- return strcmp(a, b);
-}
-
-
int export_pdf(struct presentation *p, const char *filename)
{
double r;