summaryrefslogtreecommitdiffhomepage
path: root/src/conf.c
diff options
context:
space:
mode:
authorrofl0r <retnyg@gmx.net>2017-12-04 11:33:01 +0000
committerrofl0r <retnyg@gmx.net>2017-12-04 11:33:01 +0000
commit9bb699628fe0375ab03fa795c44261e97a898beb (patch)
tree71b6cf739f30b075291516f260a9f3c216c5f595 /src/conf.c
parente9e0f0b4f0341fa279e88d03f0f2baddff43cbe9 (diff)
safe_write/read: take void* buffer for generic use
if using one of unsigned or signed char for the function prototype, one gets nasty warnings when using it with the other type. the only proper solution is to put void* into the prototype, and then specialize the pointer inside the function using an automatic variable. for exactly this reason, libc functions like read(), write(), etc use void* too.
Diffstat (limited to 'src/conf.c')
0 files changed, 0 insertions, 0 deletions