X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fstdio%2Fmemstream.c;h=749c664a26425666732d3a0af00e552d8ce69945;hb=462b4f35652098e26c677f89df6990428a4aad6a;hp=baca42b5de0c14a9d516f2e38e52e064cf8a04c7;hpb=80371a77c4d6978e786ab2322161c4f8e299e891;p=libc-test diff --git a/src/stdio/memstream.c b/src/stdio/memstream.c index baca42b..749c664 100644 --- a/src/stdio/memstream.c +++ b/src/stdio/memstream.c @@ -20,7 +20,7 @@ !memcmp((s),(x),(n)) || \ (error("[%s] != [%s] (%s)\n", s, x, m), 0) ) -void test_memstream(void) +int main(void) { FILE *f; char *s; @@ -91,4 +91,5 @@ void test_memstream(void) TEST(i, ftell(f), 8, "%d != %d"); TEST_S(buf, "hello104", ""); fclose(f); + return test_status; }