summaryrefslogtreecommitdiff
path: root/epan/filesystem.h
diff options
context:
space:
mode:
Diffstat (limited to 'epan/filesystem.h')
-rw-r--r--epan/filesystem.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/filesystem.h b/epan/filesystem.h
index 534cfe384a..060937ef16 100644
--- a/epan/filesystem.h
+++ b/epan/filesystem.h
@@ -119,13 +119,13 @@ gboolean deletefile (const char *path);
* Return an error message for UNIX-style errno indications on open or
* create operations.
*/
-char *file_open_error_message(int err, gboolean for_writing);
+const char *file_open_error_message(int err, gboolean for_writing);
/*
* Return an error message for UNIX-style errno indications on write
* operations.
*/
-char *file_write_error_message(int err);
+const char *file_write_error_message(int err);
/*
* Check, if file is existing.