aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/XSpadFill.h2
-rw-r--r--src/include/util.H14
2 files changed, 3 insertions, 3 deletions
diff --git a/src/include/XSpadFill.h b/src/include/XSpadFill.h
index 33bf2d4e..fdf6899d 100644
--- a/src/include/XSpadFill.h
+++ b/src/include/XSpadFill.h
@@ -38,7 +38,7 @@
extern int XInitSpadFill(Display * , int , Colormap * , int * , int * , int * , int * );
extern void XSpadFillSetArcMode(Display * , int );
-extern GC SpadFillGC(Display * , int , int , char * );
+extern GC SpadFillGC(Display * , int , int , const char* );
extern unsigned long XSolidColor(int , int );
extern void XSpadFillRectangle(Display * , Drawable , int , int , unsigned int , unsigned int , int , int );
extern void XSpadFillRectangles(Display * , Drawable , XRectangle * , int , int , int );
diff --git a/src/include/util.H1 b/src/include/util.H1
index bed0da32..924c0251 100644
--- a/src/include/util.H1
+++ b/src/include/util.H1
@@ -1,6 +1,6 @@
extern int checker(int , int , char * );
-extern char * getmemWithLine(int , char * , int );
-extern char * saymemWithLine(char * , int , int , int );
+extern const char* getmemWithLine(int , const char* , int );
+extern const char* saymemWithLine(const char* , int , int , int );
extern void myfree(void * , int );
extern XPoint getWindowPositionXY(Display * , Window );
extern XPoint getWindowSizeXY(Display * , Window );