gstreamer/libs/gst/check/libcheck/libcompat.c
Sebastian Rasmussen f1df7aba8f check: Import version 0.9.14
This lifts the files almost verbatim (the changes being running though
gst-indent and fixing the FSF address) from the upstream respository.
Therefore this commit reverts some GStreamer-specific patches to check
that will be reintroduced next.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=727826
2014-12-06 17:48:16 +01:00

15 lines
294 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);
}