Commit Graph

12 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
Wolfgang Thaller e5185d23c3 Switch tab-indented files to 4-space indent 2019-08-18 13:21:00 +02:00
Wolfgang Thaller 4a78f4a90c __errno should not be here 2017-10-09 15:43:18 +02:00
Wolfgang Thaller a11377f5ae test: Segments 2017-10-08 19:30:54 +02:00
Wolfgang Thaller e8063b8cf6 C library/system calls: clean up, implement open, read, write, close, lseek; clean up the command line gcc passes to ld 2017-10-08 19:28:10 +02:00
Wolfgang Thaller 3eff6ff36f libretro/malloc.c: "implement" memalign. Just hope that NewPtr aligns enough anyway (16 byte on PowerPC) 2017-10-07 16:10:05 +02:00
Wolfgang Thaller 0561012bb6 Add GCC Runtime Library Exception to license for libretro 2015-07-15 23:23:19 +02:00
Wolfgang Thaller c9f832b2c9 malloc: set errno on out-of-memory 2014-09-30 16:25:26 +02:00
Wolfgang Thaller 822c9f3dbf fix indentation before it is too late 2014-09-15 00:43:30 +02:00
Wolfgang Thaller ebdaf6b959 fix bug in realloc implementation 2014-09-13 00:20:07 +02:00
Wolfgang Thaller 82203b6b7d add README, COPYING and license notices 2012-04-24 03:22:36 +02:00
Wolfgang Thaller c0964680a4 libretro 2012-03-29 10:29:41 +02:00