From b6d8272551435098c716c546a5201206517e5da9 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Tue, 6 Oct 2015 18:32:19 +0000 Subject: modernize style: "return" is not a function --- test-strsep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test-strsep.c') diff --git a/test-strsep.c b/test-strsep.c index 4c57c13e..18bbb109 100644 --- a/test-strsep.c +++ b/test-strsep.c @@ -6,5 +6,5 @@ main(void) char buf[6] = "aybxc"; char *workp = buf; char *retp = strsep(&workp, "xy"); - return( ! (retp == buf && '\0' == buf[1] && buf + 2 == workp)); + return ! (retp == buf && buf[1] == '\0' && workp == buf + 2); } -- cgit v1.2.3