summaryrefslogtreecommitdiff
path: root/src/fb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fb.h')
-rw-r--r--src/fb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fb.h b/src/fb.h
index 3f313b2..7743b82 100644
--- a/src/fb.h
+++ b/src/fb.h
@@ -30,8 +30,8 @@ typedef struct fb_page_t {
/* Supply this struct to fb_new() with the appropriate context */
typedef struct fb_ops_t {
- int (*setup)(settings_t *settings, setting_desc_t **next);
- void * (*init)(settings_t *settings);
+ int (*setup)(const settings_t *settings, setting_desc_t **next);
+ void * (*init)(const settings_t *settings);
void (*shutdown)(void *context);
int (*acquire)(void *context, void *page);
void (*release)(void *context);
© All Rights Reserved