summaryrefslogtreecommitdiff
path: root/src/str_partial.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/str_partial.h')
-rw-r--r--src/str_partial.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/str_partial.h b/src/str_partial.h
index 9d4fbd6..2373555 100644
--- a/src/str_partial.h
+++ b/src/str_partial.h
@@ -3,7 +3,7 @@
/* This is meant to be extended, and only has minimal necessary
fields. */
-typedef str_info (*info_getter) (str *, UNUM);
+typedef str_info (*info_getter) (const str * const restrict , UNUM);
struct str_s {
UNUM size; /* the size in bytes, not in chars */