kernel: Fix compilation
[dragonfly.git] / bin / cpdup / compat_sun.h
blob5bb649767438dcf02b4fa05d6c59b90ba22cf789
1 /* __unused is a gcc'ism. */
2 #define __unused
4 #include <stdio.h>
5 #include <stdarg.h>
7 int vasprintf(char **str, const char *format, va_list ap);
8 int asprintf(char **str, const char *format, ...);
10 #ifndef NOMD5
12 #include <md5.h>
14 char *MD5End(MD5_CTX *ctx, char *buf);
15 char *MD5File(const char *filename, char *buf);
16 char *MD5FileChunk(const char *filename, char *buf, off_t ofs, off_t len);
18 #endif