summaryrefslogtreecommitdiff
path: root/framebuffer/fb_plotters.c
diff options
context:
space:
mode:
Diffstat (limited to 'framebuffer/fb_plotters.c')
-rw-r--r--framebuffer/fb_plotters.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/framebuffer/fb_plotters.c b/framebuffer/fb_plotters.c
index 773cc640a..0ae253f2c 100644
--- a/framebuffer/fb_plotters.c
+++ b/framebuffer/fb_plotters.c
@@ -55,8 +55,8 @@ enum {
#define SWAP(a, b) do { int t; t=(a); (a)=(b); (b)=t; } while(0)
/* clip a rectangle to another rectangle */
-bool fb_plotters_clip_rect(const bbox_t *clip,
- int *x0, int *y0, int *x1, int *y1)
+bool fb_plotters_clip_rect(const bbox_t * restrict clip,
+ int * restrict x0, int * restrict y0, int * restrict x1, int * restrict y1)
{
char region1;
char region2;