summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/tools/clang/lib/CodeGen/CGDecl.cpp
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2010-06-12 12:19:08 +0000
committered <ed@FreeBSD.org>2010-06-12 12:19:08 +0000
commitd7eaa4520bf719a6d9026593ea53b856b279599c (patch)
tree2e33ea672575634ca515c91165b5e2e4628e89d0 /contrib/llvm/tools/clang/lib/CodeGen/CGDecl.cpp
parentba82206079916c66329a3b6b011cc173104972be (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud