diff options
author | ed <ed@FreeBSD.org> | 2010-06-12 12:19:08 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2010-06-12 12:19:08 +0000 |
commit | d7eaa4520bf719a6d9026593ea53b856b279599c (patch) | |
tree | 2e33ea672575634ca515c91165b5e2e4628e89d0 /contrib/llvm/tools/clang/lib/CodeGen/CGDecl.cpp | |
parent | ba82206079916c66329a3b6b011cc173104972be (diff) | |
download | FreeBSD-src-d7eaa4520bf719a6d9026593ea53b856b279599c.zip FreeBSD-src-d7eaa4520bf719a6d9026593ea53b856b279599c.tar.gz |
ANSIfy prototypes in subr_usbd.c.
Clang generates the following warnings when building subr_usbd.c:
| subr_usbd.c:598:13: warning: promoted type 'int' of K&R function
| parameter is not compatible with the parameter type 'uint8_t' (aka
| 'unsigned char') declared in a previous prototype
| subr_usbd.c:627:13: warning: promoted type 'int' of K&R function
| parameter is not compatible with the parameter type 'uint8_t' (aka
| 'unsigned char') declared in a previous prototype
| subr_usbd.c:649:13: warning: promoted type 'int' of K&R function
| parameter is not compatible with the parameter type 'uint8_t' (aka
| 'unsigned char') declared in a previous prototype
Instead of just ANSIfying these three prototypes, do it for the entire
file.
Spotted by: clang
Diffstat (limited to 'contrib/llvm/tools/clang/lib/CodeGen/CGDecl.cpp')
0 files changed, 0 insertions, 0 deletions