diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2015-11-24 13:52:26 +0100 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2015-11-24 13:52:26 +0100 |
commit | e422ca0f292d08a873deacdbffbb6c6cbd79f88a (patch) | |
tree | 09bd32db472addf4fd7a1f497892f95e1c4cb858 /lib/string.h | |
parent | 5126380beace4e39578f005fe115917b8e8b8ff3 (diff) |
Some consts for function arguments
Patch from Pavel Tvrdik
Diffstat (limited to 'lib/string.h')
-rw-r--r-- | lib/string.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/string.h b/lib/string.h index 528a1a19..218f7b1c 100644 --- a/lib/string.h +++ b/lib/string.h @@ -22,6 +22,6 @@ int buffer_vprint(buffer *buf, const char *fmt, va_list args); int buffer_print(buffer *buf, const char *fmt, ...); void buffer_puts(buffer *buf, const char *str); -int patmatch(byte *pat, byte *str); +int patmatch(const byte *pat, const byte *str); #endif |