diff options
author | Rich Felker <dalias@aerifal.cx> | 2015-04-17 22:24:31 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-04-17 22:24:31 -0400 |
commit | 2ca55a93f2a11185d72dcb69006fd2c30b5c3144 (patch) | |
tree | 0c8262539c52947bbb1e107a81e97254cb028502 /arch/sh/bits/fcntl.h | |
parent | 19bcdeeb1ebef6d209dfa938011c856bc3444a92 (diff) | |
download | musl-2ca55a93f2a11185d72dcb69006fd2c30b5c3144.tar.gz musl-2ca55a93f2a11185d72dcb69006fd2c30b5c3144.tar.xz musl-2ca55a93f2a11185d72dcb69006fd2c30b5c3144.zip |
improve ctype.h macros to diagnose errors
the casts of the argument to unsigned int suppressed diagnosis of errors like passing a pointer instead of a character. putting the actual function call in an unreachable branch restores any diagnostics that would be present if the macros didn't exist and functions were used.
Diffstat (limited to 'arch/sh/bits/fcntl.h')
0 files changed, 0 insertions, 0 deletions