nant's projects
/
dragonfly.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Merge branch 'vendor/GDTOA'
[dragonfly.git]
/
libexec
/
dma
/
dfcompat.h
1
#ifndef DFCOMPAT_H
2
#define DFCOMPAT_H
3
4
#include <sys/types.h>
5
6
#ifndef __DECONST
7
#define __DECONST(type, var) ((type)(uintptr_t)(const void *)(var))
8
#endif
9
10
#ifdef NEED_STRLCPY
11
size_t strlcpy(char *, const char *, size_t);
12
#endif
13
14
#ifdef NEED_REALLOCF
15
void *reallocf(void *, size_t);
16
#endif
17
18
#ifdef NEED_GETPROGNAME
19
const char *getprogname(void);
20
#endif
21
22
#endif /* DFCOMPAT_H */