diff options
author | dos-reis <gdr@axiomatics.org> | 2012-08-19 00:39:07 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2012-08-19 00:39:07 +0000 |
commit | 308f70df7e403e68e0ae936ad00500ad46a914b9 (patch) | |
tree | a2b6fb5f771bc1c8a521b32aec9272905cdb3b22 /src/include | |
parent | 23e3d955132e04a74e804da81890e7fe9390bc30 (diff) | |
download | open-axiom-308f70df7e403e68e0ae936ad00500ad46a914b9.tar.gz |
* include/util.H1 (getmemWithLine): Second argument is now const char*.
(saymemWithLine): First argument is now char*.
* lib/util.c: Propogate change.
* include/XSpadFill.h (SpadFillGC): Change last parameter type to
const char*.
* lib/XSpadFill.c (SpadFillGC): Likewise.
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/XSpadFill.h | 2 | ||||
-rw-r--r-- | src/include/util.H1 | 4 |
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 ); |