Commit Graph

15 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 d08331584e MultiSeg Apps: First working version (exceptions don't work) 2017-09-26 11:27:53 +02:00
Wolfgang Thaller 836a8acb7b properly call global destructors 2015-08-29 20:11:53 +02:00
Wolfgang Thaller 7aaa3174df One more example: a System Extension (INIT) 2015-07-18 01:14:43 +02:00
Wolfgang Thaller 1cc5202ccf Reorganize startup code (make some parts publicly available) 2015-07-17 21:07:03 +02:00
Wolfgang Thaller 0561012bb6 Add GCC Runtime Library Exception to license for libretro 2015-07-15 23:23:19 +02:00
Wolfgang Thaller 3911cb2fde _start(): Use exit() instead of ExitToShell() 2014-09-30 16:25:26 +02:00
Wolfgang Thaller e6df3abfe0 clean up _start(): it is now safe to call OS traps without inline assembly. 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 82203b6b7d add README, COPYING and license notices 2012-04-24 03:22:36 +02:00
Wolfgang Thaller 5a7c5aae74 startup code: call FlushCache if necessary, inline a-traps 2012-04-06 01:04:43 +02:00
Wolfgang Thaller 4f6bed514d reindent 2012-04-06 00:46:05 +02:00
Wolfgang Thaller 012f491d4e deal with odd-address errors:
handle non-aligned relocations
make sure .init/.fini sections are aligned
2012-04-03 10:57:27 +02:00
Wolfgang Thaller c0964680a4 libretro 2012-03-29 10:29:41 +02:00