projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add some const where appropriate.
[tinc]
/
lib
/
utils.h
diff --git
a/lib/utils.h
b/lib/utils.h
index
6ff2082
..
04c4ddb
100644
(file)
--- a/
lib/utils.h
+++ b/
lib/utils.h
@@
-39,7
+39,7
@@
extern void hex2bin(char *src, char *dst, int length);
extern void bin2hex(char *src, char *dst, int length);
#ifdef HAVE_MINGW
-extern char *winerror(int);
+extern c
onst c
har *winerror(int);
#define strerror(x) ((x)>0?strerror(x):winerror(GetLastError()))
#endif