diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-01-14 05:00:49 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-01-14 05:00:49 +0300 |
commit | 9f05fe00a024879379f9be085b58be2d816a7eb5 (patch) | |
tree | dead5261c904b014d516f1bbbbd1265730f4b9f8 /source/blender/makesdna/intern/makesdna.c | |
parent | f5604af464cd2e2cbb271378df2827cbe6eaffe3 (diff) |
Cleanup: use const qualifier in makesdna
Diffstat (limited to 'source/blender/makesdna/intern/makesdna.c')
-rw-r--r-- | source/blender/makesdna/intern/makesdna.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/makesdna/intern/makesdna.c b/source/blender/makesdna/intern/makesdna.c index d1744c6053d..0bdd428bef9 100644 --- a/source/blender/makesdna/intern/makesdna.c +++ b/source/blender/makesdna/intern/makesdna.c @@ -191,7 +191,7 @@ static int preprocess_include(char *maindata, int len); /** * Scan this file for serializable types. */ -static int convert_include(char *filename); +static int convert_include(const char *filename); /** * Determine how many bytes are needed for an array. @@ -515,7 +515,7 @@ static int preprocess_include(char *maindata, int len) return newlen; } -static void *read_file_data(char *filename, int *r_len) +static void *read_file_data(const char *filename, int *r_len) { #ifdef WIN32 FILE *fp = fopen(filename, "rb"); @@ -556,7 +556,7 @@ static void *read_file_data(char *filename, int *r_len) return data; } -static int convert_include(char *filename) +static int convert_include(const char *filename) { /* read include file, skip structs with a '#' before it. * store all data in temporal arrays. |