summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/POSIX/ftrylockfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/libtests/POSIX/ftrylockfile.c')
-rw-r--r--testsuites/libtests/POSIX/ftrylockfile.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuites/libtests/POSIX/ftrylockfile.c b/testsuites/libtests/POSIX/ftrylockfile.c
index 8e99406493..2a724e6e30 100644
--- a/testsuites/libtests/POSIX/ftrylockfile.c
+++ b/testsuites/libtests/POSIX/ftrylockfile.c
@@ -15,6 +15,8 @@
int main(void)
{
FILE *file = NULL;
- int ret = ftrylockfile(file);
+ int ret;
+
+ ret = ftrylockfile(file);
return ret;
}