diff options
author | Michael Pavone <pavone@retrodev.com> | 2015-11-09 20:55:17 -0800 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2015-11-09 20:55:17 -0800 |
commit | 68d581dbe8a9c96aba2dffb3f8ce98d720ae2e27 (patch) | |
tree | a683b1e8e5adfb9084e257cb03df947bb620685f /util.h | |
parent | 7d6031ae997cfd08b51e687cc68d11d572b23bf7 (diff) |
Fix Android build breakage
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -11,9 +11,9 @@ typedef struct { //Utility functions //Allocates a new string containing the concatenation of first and second -char * alloc_concat(char * first, char * second); +char * alloc_concat(char const * first, char const * second); //Allocates a new string containing the concatenation of the strings pointed to by parts -char * alloc_concat_m(int num_parts, char ** parts); +char * alloc_concat_m(int num_parts, char const ** parts); //Returns the size of a file using fseek and ftell long file_size(FILE * f); //Strips whitespace and non-printable characters from the beginning and end of a string @@ -29,7 +29,7 @@ char * get_exe_dir(); //Returns the user's home directory char * get_home_dir(); //Returns an appropriate path for storing config files -char *get_config_dir(); +char const *get_config_dir(); //Reads a file bundled with the executable char *read_bundled_file(char *name, long *sizeret); //Retunrs an array of normal files and directories residing in a directory |