aboutsummaryrefslogtreecommitdiffstats
path: root/rdps.c
diff options
context:
space:
mode:
Diffstat (limited to 'rdps.c')
-rw-r--r--rdps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rdps.c b/rdps.c
index 2f8209de83..25e4e62c79 100644
--- a/rdps.c
+++ b/rdps.c
@@ -39,7 +39,7 @@ with 2 functions:
#define BUFFER_SIZE 1024
-void start_code(FILE *fd, char *func);
+void start_code(FILE *fd, const char *func);
void write_code(FILE *fd, char *string);
void end_code(FILE *fd);
void ps_clean_string(char *out, const char *in,
@@ -125,7 +125,7 @@ int main(int argc, char **argv)
exit(0);
}
-void start_code(FILE *fd, char *func)
+void start_code(FILE *fd, const char *func)
{
fprintf(fd, "/* Created by rdps.c. Do not edit! */\n");
fprintf(fd, "void print_ps_%s(FILE *fd) {\n", func);