summaryrefslogtreecommitdiff
path: root/Build/source/utils/psutils/psutil.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/psutils/psutil.h')
-rw-r--r--Build/source/utils/psutils/psutil.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Build/source/utils/psutils/psutil.h b/Build/source/utils/psutils/psutil.h
index deed93ac811..0ca9012e499 100644
--- a/Build/source/utils/psutils/psutil.h
+++ b/Build/source/utils/psutils/psutil.h
@@ -17,7 +17,7 @@ typedef long Fileptr ;
/* paper size structure; configurability and proper paper resources will have
to wait until version 2 */
typedef struct papersize {
- char *name; /* name of paper size */
+ const char *name; /* name of paper size */
int width, height; /* width, height in points */
} Paper ;
#define PaperName(p) ((p)->name)
@@ -25,11 +25,11 @@ typedef struct papersize {
#define PaperHeight(p) ((p)->height)
/* Definitions for functions found in psutil.c */
-extern Paper *findpaper(char *name);
+extern Paper *findpaper(const char *name);
extern FILE *seekable(FILE *fp);
extern void writepage(int p);
extern void seekpage(int p);
-extern void writepageheader(char *label, int p);
+extern void writepageheader(const char *label, int p);
extern void writepagesetup(void);
extern void writepagebody(int p);
extern void writeheader(int p);
@@ -39,7 +39,7 @@ extern void writesetup(void);
extern void writetrailer(void);
extern void writeemptypage(void);
extern void scanpages(void);
-extern void writestring(char *s);
+extern void writestring(const char *s);
/* These variables are imported from the client program (e.g. psbook, psnup,
etc.) */