From 2a105685d2c7f97a5b01d4e38ec3ff0a338c4cc5 Mon Sep 17 00:00:00 2001 From: Enji Cooper Date: Tue, 23 May 2017 07:15:57 +0000 Subject: [PATCH] fopencookie(3): declare function pointers in SYNOPSIS correctly Add obligatory `*` in declarations. Reported by: make manlint MFC after: 2 weeks Sponsored by: Dell EMC Isilon --- lib/libc/stdio/fopencookie.3 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/libc/stdio/fopencookie.3 b/lib/libc/stdio/fopencookie.3 index 4903e915a42..349b3499b6b 100644 --- a/lib/libc/stdio/fopencookie.3 +++ b/lib/libc/stdio/fopencookie.3 @@ -35,13 +35,13 @@ .Sh SYNOPSIS .In stdio.h .Ft typedef ssize_t -.Fn (cookie_read_function_t) "void *cookie" "char *buf" "size_t size" +.Fn (*cookie_read_function_t) "void *cookie" "char *buf" "size_t size" .Ft typedef ssize_t -.Fn (cookie_write_function_t) "void *cookie" "const char *buf" "size_t size" +.Fn (*cookie_write_function_t) "void *cookie" "const char *buf" "size_t size" .Ft typedef int -.Fn (cookie_seek_function_t) "void *cookie" "off64_t *offset" "int whence" +.Fn (*cookie_seek_function_t) "void *cookie" "off64_t *offset" "int whence" .Ft typedef int -.Fn (cookie_close_function_t) "void *cookie" +.Fn (*cookie_close_function_t) "void *cookie" .Bd -literal typedef struct { cookie_read_function_t *read;