projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove dropin random() function, as it is not used anymore.
[tinc]
/
lib
/
utils.h
diff --git
a/lib/utils.h
b/lib/utils.h
index
6ff2082
..
ce72648
100644
(file)
--- a/
lib/utils.h
+++ b/
lib/utils.h
@@
-39,8
+39,10
@@
extern void hex2bin(char *src, char *dst, int length);
extern void bin2hex(char *src, char *dst, int length);
#ifdef HAVE_MINGW
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
#define strerror(x) ((x)>0?strerror(x):winerror(GetLastError()))
#endif
+extern unsigned int bitfield_to_int(void *bitfield, size_t size);
+
#endif /* __TINC_UTILS_H__ */
#endif /* __TINC_UTILS_H__ */