]> granicus.if.org Git - check/commitdiff
* silence warning when nothing is included in libcompat
authorcpickett <cpickett@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Sun, 28 Dec 2008 23:00:21 +0000 (23:00 +0000)
committercpickett <cpickett@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Sun, 28 Dec 2008 23:00:21 +0000 (23:00 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@473 64e312b2-a51f-0410-8e61-82d0ca0eb02a

lib/libcompat.c
lib/libcompat.h

index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..b6074b890991e23f9f141a17e81c1fbb58c5f408 100644 (file)
@@ -0,0 +1,7 @@
+#include "libcompat.h"
+
+/* silence warnings about an empty library */
+void
+ck_do_nothing (void)
+{
+}
index ef4d010e4197335d6c1ba9f477caab988d3e92cc..10eb9b47441ea00fdda0d65d8a05a8ecf65e53d3 100644 (file)
@@ -22,3 +22,6 @@ unsigned int sleep (unsigned int seconds);
 #if !HAVE_STRSIGNAL
 const char *strsignal(int sig);
 #endif /* !HAVE_STRSIGNAL */
+
+/* silence warnings about an empty library */
+void ck_do_nothing (void);