summaryrefslogtreecommitdiff
path: root/src/htsalias.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/htsalias.c')
-rw-r--r--src/htsalias.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/htsalias.c b/src/htsalias.c
index 19b7857..b1a7962 100644
--- a/src/htsalias.c
+++ b/src/htsalias.c
@@ -560,8 +560,8 @@ int optinclude_file(const char *name, int *argc, char **argv, char *x_argvblk,
/* Get home directory, '.' if failed */
/* example: /home/smith */
-char *hts_gethome(void) {
- char *home = getenv("HOME");
+const char *hts_gethome(void) {
+ const char *home = getenv("HOME");
if (home)
return home;