aboutsummaryrefslogtreecommitdiff
path: root/src/presentation.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/presentation.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/presentation.c')
-rw-r--r--src/presentation.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/presentation.c b/src/presentation.c
index 0169f19..3ec00e3 100644
--- a/src/presentation.c
+++ b/src/presentation.c
@@ -36,6 +36,7 @@
#include "imagestore.h"
#include "render.h"
#include "sc_interp.h"
+#include "utils.h"
void free_presentation(struct presentation *p)
@@ -203,14 +204,6 @@ static char *fgets_long(FILE *fh, size_t *lp)
}
-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 slide_number(struct presentation *p, SCBlock *sl)
{
SCBlock *bl = p->scblocks;