Commit Graph

8 Commits

Author SHA1 Message Date
Ryan Schmidt 8f68ffd203 Declare all C function parameters
Specify parameters for all C functions. Not specifying parameters is the
same as specifying "void" in C++ and in C23 and later but that's not the
case in C prior to C23.

Compile C files with the same warnings as C++ files, additionally making
the strict prototypes warning an error to catch such problems in the
future. This commit isn't intended to address all the other warnings now
being emitted.
2022-12-05 06:48:30 -06:00
Ryan Schmidt 60fe5bdec9
Raytracer: Fix typo in comment 2022-07-31 12:24:34 -05:00
Wolfgang Thaller e5185d23c3 Switch tab-indented files to 4-space indent 2019-08-18 13:21:00 +02:00
Wolfgang Thaller ec8a5332b9 fix warning 2018-12-28 15:59:07 +01:00
Wolfgang Thaller a919b6f1af build C version of raytracer without using c stdlib 2017-04-21 18:45:20 +02:00
Wolfgang Thaller 380c8115fe Carbon examples: some more port flushing 2015-10-12 02:48:43 +02:00
Wolfgang Thaller 79d23218a9 Clean up Carbon build 2015-10-07 00:03:28 +02:00
Wolfgang Thaller 9ecd799562 move Samples to subdirectory 2015-07-16 20:57:34 +02:00