]> git.draconx.ca Git - dxcommon.git/blobdiff - tests/scripts.at
tests: Add missing returns test programs.
[dxcommon.git] / tests / scripts.at
index 70df38844813f9bdcf8f9a16935c0206ccc8bed1..6c90f5a425b69e0cd9f10905e110ef368d07e543 100644 (file)
@@ -169,6 +169,7 @@ int main(void)
     if (SOPT_STRING[i+1] != ':')
       putchar('\n');
   }
+  return 0;
 }
 ]])
 
@@ -257,6 +258,7 @@ int main(void)
     else
       printf("'%c'\n", o.val);
   }
+  return 0;
 }
 ]])
 
@@ -554,6 +556,7 @@ int main(void)
   for (i = 0; i < sizeof root / sizeof root[0]; i++) {
     printf("%d, %d\n", root[i].num, root[i].offset);
   }
+  return 0;
 }
 ]])