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