aboutsummaryrefslogtreecommitdiff
path: root/src/stdlib/ldiv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdlib/ldiv.c')
-rw-r--r--src/stdlib/ldiv.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/stdlib/ldiv.c b/src/stdlib/ldiv.c
index 36eb960b..c4181f84 100644
--- a/src/stdlib/ldiv.c
+++ b/src/stdlib/ldiv.c
@@ -4,3 +4,11 @@ ldiv_t ldiv(long num, long den)
{
return (ldiv_t){ num/den, num%den };
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif