rendered paste bodyIndex: include/beryl.h
===================================================================
--- include/beryl.h (Revision 1390)
+++ include/beryl.h (Arbeitskopie)
@@ -851,6 +851,9 @@
void
freeDisplayPrivateIndex (int index);
+void
+compDisplayInitOptions (CompDisplay * display, char **plugin, int nPlugin);
+
CompOption *
compGetDisplayOptions (CompDisplay *display,
int *count);
Index: libberylsettings/main.c
===================================================================
--- libberylsettings/main.c (Revision 1390)
+++ libberylsettings/main.c (Arbeitskopie)
@@ -8,7 +8,7 @@
#include <dlfcn.h>
#include <beryl.h>
-struct Display *display = NULL;
+CompDisplay *display = NULL;
#define NEW(a,b) \
a * b = malloc(sizeof(a)); memset((b),0,sizeof(a))
Index: src/display_options.c
===================================================================
--- src/display_options.c (Revision 1390)
+++ src/display_options.c (Arbeitskopie)
@@ -139,9 +139,6 @@
#include <fsp.h>
void
-compDisplayInitOptions (CompDisplay * display, char **plugin, int nPlugin);
-
-void
compDisplayInitOptions (CompDisplay * display, char **plugin, int nPlugin)
{
CompOption *o;