summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-10-30 23:23:17 +0000
committerLaurent Bercot <ska@appnovation.com>2021-10-30 23:23:17 +0000
commit450e114e1e1651c65dfcdbfa3c6f3967163976b3 (patch)
treebe78736694ab8cb3f82edd3a60a05b9346408075
parent2da0223d5d1e91a7154996969ce44f48d9838a4f (diff)
downloadskalibs-450e114e1e1651c65dfcdbfa3c6f3967163976b3.tar.xz
Don't return void
Error by: Studio 12.6 Sun C 5.15 SunOS_i386 2017/05/30 Reported by schmonz Signed-off-by: Laurent Bercot <ska@appnovation.com>
-rw-r--r--src/librandom/autosurf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librandom/autosurf.c b/src/librandom/autosurf.c
index 8775bef..04a47c2 100644
--- a/src/librandom/autosurf.c
+++ b/src/librandom/autosurf.c
@@ -14,5 +14,5 @@ void autosurf (char *s, size_t n)
surf_init(&ctx, tmp) ;
need4seed = 0 ;
}
- return surf(&ctx, s, n) ;
+ surf(&ctx, s, n) ;
}