From 1bf11626543c2b0dd10e8e0e4f3f75c99ea4f16c Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Fri, 23 Feb 2018 20:14:45 -0800 Subject: drm_fb,sdl_fb: drop vestigial headers With fb backends entirely abstracted behind fb_ops_t, this is no longer necessary. --- src/Makefile.am | 2 +- src/drm_fb.h | 12 ------------ src/rototiller.c | 2 -- src/sdl_fb.h | 9 --------- 4 files changed, 1 insertion(+), 24 deletions(-) delete mode 100644 src/drm_fb.h delete mode 100644 src/sdl_fb.h 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 -#include - -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 #include -#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 -- cgit v1.2.3