- add library implementation of empty setUp()/tearDown()
bk: 57e8bf30AiR9G8_rmiGPq4UnVX4JUw
libunity_a_SOURCES = \
../libpkgver/colcomp.c \
unity.c \
+ ulib_setup.c \
+ ulib_teardown.c \
unity.h \
unity_config.h \
unity_internals.h \
--- /dev/null
+/* default / lib implementation of 'setUp()'
+ *
+ * SOLARIS does not support weak symbols -- need a real lib
+ * implemetation here.
+ */
+
+extern void setUp(void);
+
+void setUp(void)
+{
+ /* empty on purpose */
+}
+
+/* -*- that's all folks! -*- */
--- /dev/null
+/* default / lib implementation of 'tearDown()'
+ *
+ * SOLARIS does not support weak symbols -- need a real lib
+ * implemetation here.
+ */
+
+extern void tearDown(void);
+
+void tearDown(void)
+{
+ /* empty on purpose */
+}
+