diff options
Diffstat (limited to 'login')
-rw-r--r-- | login/tst-grantpt.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/login/tst-grantpt.c b/login/tst-grantpt.c index 5078dac..65bb344 100644 --- a/login/tst-grantpt.c +++ b/login/tst-grantpt.c @@ -66,8 +66,8 @@ test_einval (void) return ret; } -int -main (void) +static int +do_test (void) { int result = 0; @@ -76,3 +76,6 @@ main (void) return result; } + +#define TEST_FUNCTION do_test () +#include "../test-skeleton.c" |