aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test-fgetln.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-10-06 18:32:19 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-10-06 18:32:19 +0000
commitb6d8272551435098c716c546a5201206517e5da9 (patch)
tree223438db91511a96151bc1450143b4c649c40d08 /test-fgetln.c
parenteec76d50a016de5e9c4e0d3504b148892a36aabf (diff)
downloadmandoc-b6d8272551435098c716c546a5201206517e5da9.tar.gz
mandoc-b6d8272551435098c716c546a5201206517e5da9.tar.zst
mandoc-b6d8272551435098c716c546a5201206517e5da9.zip
modernize style: "return" is not a function
Diffstat (limited to 'test-fgetln.c')
-rw-r--r--test-fgetln.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-fgetln.c b/test-fgetln.c
index ac225a17..c2abf06d 100644
--- a/test-fgetln.c
+++ b/test-fgetln.c
@@ -7,5 +7,5 @@ main(void)
{
size_t sz;
fclose(stdin);
- return(NULL != fgetln(stdin, &sz));
+ return fgetln(stdin, &sz) != NULL;
}