mirror of
https://github.com/ioacademy-jikim/debugging
synced 2025-06-09 00:46:12 +00:00
15 lines
305 B
C
15 lines
305 B
C
#include "libcompat.h"
|
|
|
|
/* silence warnings about an empty library */
|
|
void ck_do_nothing(void)
|
|
{
|
|
assert(0);
|
|
|
|
/*
|
|
* to silence warning about this function actually
|
|
* returning, but being marked as noreturn. assert()
|
|
* must be marked as a function that returns.
|
|
*/
|
|
exit(1);
|
|
}
|