Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the strict-prototypes warnings in displayinfo.h
[34/55] Building C object Source/displayinfo/display_info/CMakeFiles/display_info.dir/main.c.o FAILED: Source/displayinfo/display_info/CMakeFiles/display_info.dir/main.c.o /Applications/Xcode_15.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -DTHUNDER_PLATFORM_PC_UNIX=1 -I/Users/runner/work/ThunderClientLibraries/ThunderClientLibraries/ThunderClientLibraries/Source/displayinfo/display_info/../include -I/Users/runner/work/ThunderClientLibraries/ThunderClientLibraries/ThunderClientLibraries/Source/displayinfo -I/Users/runner/work/ThunderClientLibraries/ThunderClientLibraries/ThunderClientLibraries/Source/displayinfo/include -Wall -Wextra -Wpedantic -Werror -O3 -DNDEBUG -arch arm64 -isysroot /Applications/Xcode_15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk -MD -MT Source/displayinfo/display_info/CMakeFiles/display_info.dir/main.c.o -MF Source/displayinfo/display_info/CMakeFiles/display_info.dir/main.c.o.d -o Source/displayinfo/display_info/CMakeFiles/display_info.dir/main.c.o -c /Users/runner/work/ThunderClientLibraries/ThunderClientLibraries/ThunderClientLibraries/Source/displayinfo/display_info/main.c In file included from /Users/runner/work/ThunderClientLibraries/ThunderClientLibraries/ThunderClientLibraries/Source/displayinfo/display_info/main.c:20: /Users/runner/work/ThunderClientLibraries/ThunderClientLibraries/ThunderClientLibraries/Source/displayinfo/display_info/../include/displayinfo.h:473:45: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] EXTERNAL bool displayinfo_is_atmos_supported(); ^ void /Users/runner/work/ThunderClientLibraries/ThunderClientLibraries/ThunderClientLibraries/Source/displayinfo/display_info/../include/displayinfo.h:479:34: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] EXTERNAL void displayinfo_dispose(); ^ void
- Loading branch information