diff options
author | Kyle Altendorf <sda@fstab.net> | 2019-09-21 16:12:31 -0400 |
---|---|---|
committer | Kyle Altendorf <sda@fstab.net> | 2019-09-21 16:12:31 -0400 |
commit | 84ec6d2c747843c114ee11e6b5b04cfa3cfbb69c (patch) | |
tree | ab877193da84b7a00dc6d363dccbbcb09065372d /testmain.c | |
parent | Merge pull request #21 from altendky/full_siphash_format_specifiers (diff) | |
download | siphash-84ec6d2c747843c114ee11e6b5b04cfa3cfbb69c.tar.gz siphash-84ec6d2c747843c114ee11e6b5b04cfa3cfbb69c.tar.xz |
Separate test function and main()
This allows for inclusion of the test function/file in a program with an
existing main(). This is an isolated piece of #19.
Diffstat (limited to 'testmain.c')
-rw-r--r-- | testmain.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testmain.c b/testmain.c new file mode 100644 index 0000000..bb9e024 --- /dev/null +++ b/testmain.c @@ -0,0 +1,5 @@ +int siphash_test(); + +int main(void) { + return siphash_test(); +} |