summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2018-02-23 20:14:45 -0800
committerVito Caputo <vcaputo@pengaru.com>2018-02-23 20:14:45 -0800
commit1bf11626543c2b0dd10e8e0e4f3f75c99ea4f16c (patch)
treee578496cbbf8294b00befde698c7688bd220605e
parenta7f9a860b5618fa8c49caeba1ebfd0be7b4a8a02 (diff)
drm_fb,sdl_fb: drop vestigial headers
With fb backends entirely abstracted behind fb_ops_t, this is no longer necessary.
-rw-r--r--src/Makefile.am2
-rw-r--r--src/drm_fb.h12
-rw-r--r--src/rototiller.c2
-rw-r--r--src/sdl_fb.h9
4 files changed, 1 insertions, 24 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index fe57d8c..85f8214 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,5 +1,5 @@
SUBDIRS = modules
bin_PROGRAMS = rototiller
-rototiller_SOURCES = drm_fb.c drm_fb.h fb.c fb.h fps.c fps.h rototiller.c rototiller.h sdl_fb.c sdl_fb.h settings.h settings.c setup.h setup.c threads.c threads.h util.c util.h
+rototiller_SOURCES = drm_fb.c fb.c fb.h fps.c fps.h rototiller.c rototiller.h sdl_fb.c settings.h settings.c setup.h setup.c threads.c threads.h util.c util.h
rototiller_LDADD = @ROTOTILLER_LIBS@ -lm modules/julia/libjulia.a modules/plasma/libplasma.a modules/ray/libray.a modules/roto/libroto.a modules/sparkler/libsparkler.a modules/stars/libstars.a
rototiller_CPPFLAGS = @ROTOTILLER_CFLAGS@
diff --git a/src/drm_fb.h b/src/drm_fb.h
deleted file mode 100644
index c283362..0000000
--- a/src/drm_fb.h
+++ /dev/null
@@ -1,12 +0,0 @@
-#ifndef _DRM_FB_H
-#define _DRM_FB_H
-
-#include <stdint.h>
-#include <xf86drmMode.h>
-
-typedef struct drm_fb_t drm_fb_t;
-
-drm_fb_t * drm_fb_new(int drm_fd, uint32_t crtc_id, uint32_t *connectors, int n_connectors, drmModeModeInfoPtr mode);
-void drm_fb_free(drm_fb_t *fb);
-
-#endif
diff --git a/src/rototiller.c b/src/rototiller.c
index 53c58dd..79d0778 100644
--- a/src/rototiller.c
+++ b/src/rototiller.c
@@ -8,8 +8,6 @@
#include <stdint.h>
#include <unistd.h>
-#include "drm_fb.h"
-#include "sdl_fb.h"
#include "settings.h"
#include "setup.h"
#include "fb.h"
diff --git a/src/sdl_fb.h b/src/sdl_fb.h
deleted file mode 100644
index 4cd0ee9..0000000
--- a/src/sdl_fb.h
+++ /dev/null
@@ -1,9 +0,0 @@
-#ifndef _SDL_FB_H
-#define _SDL_FB_H
-
-typedef struct sdl_fb_t sdl_fb_t;
-
-sdl_fb_t * sdl_fb_new();
-void sdl_fb_free(sdl_fb_t *fb);
-
-#endif
© All Rights Reserved