From 52e87bbed1fd751edfe4803074b7b6502d6ccb88 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Tue, 10 Jul 2007 04:51:30 +0000 Subject: [PATCH] Fix missing semicolon in prototype --- man2/arch_prctl.2 | 2 +- man2/epoll_create.2 | 2 +- man2/epoll_ctl.2 | 3 ++- man2/inotify_init.2 | 2 +- man3/fmemopen.3 | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/man2/arch_prctl.2 b/man2/arch_prctl.2 index 7f24ff2ff..dffcb82ea 100644 --- a/man2/arch_prctl.2 +++ b/man2/arch_prctl.2 @@ -29,7 +29,7 @@ arch_prctl \- set architecture specific thread state .br .B #include .sp -.BI "int arch_prctl(int code, unsigned long addr)" +.BI "int arch_prctl(int " code ", unsigned long " addr ); .SH DESCRIPTION The .BR arch_prctl () diff --git a/man2/epoll_create.2 b/man2/epoll_create.2 index fd4eaa14c..d49cb35e2 100644 --- a/man2/epoll_create.2 +++ b/man2/epoll_create.2 @@ -27,7 +27,7 @@ epoll_create \- open an epoll file descriptor .SH SYNOPSIS .B #include .sp -.BI "int epoll_create(int " size ) +.BI "int epoll_create(int " size ); .SH DESCRIPTION Open an .B epoll diff --git a/man2/epoll_ctl.2 b/man2/epoll_ctl.2 index 9d3e78d59..f3427b276 100644 --- a/man2/epoll_ctl.2 +++ b/man2/epoll_ctl.2 @@ -24,7 +24,8 @@ epoll_ctl \- control interface for an epoll descriptor .SH SYNOPSIS .B #include .sp -.BI "int epoll_ctl(int " epfd ", int " op ", int " fd ", struct epoll_event *" event ) +.BI "int epoll_ctl(int " epfd ", int " op ", int " fd \ +", struct epoll_event *" event ); .SH DESCRIPTION Control an .B epoll diff --git a/man2/inotify_init.2 b/man2/inotify_init.2 index 0feb5b1a0..411d8553e 100644 --- a/man2/inotify_init.2 +++ b/man2/inotify_init.2 @@ -31,7 +31,7 @@ inotify_init \- initialize an inotify instance .SH SYNOPSIS .B #include .sp -.BI "int inotify_init(void)" +.BI "int inotify_init(void);" .SH DESCRIPTION .BR inotify_init () initializes a new inotify instance and returns a file descriptor associated diff --git a/man3/fmemopen.3 b/man3/fmemopen.3 index 94c883860..21383020b 100644 --- a/man3/fmemopen.3 +++ b/man3/fmemopen.3 @@ -13,7 +13,7 @@ fmemopen, open_memstream \- open memory as stream .BI "FILE *fmemopen(void *"buf ", size_t "size "," .BI "const char *" mode ");" .sp -.BI "FILE *open_memstream(char **" ptr ", size_t *" sizeloc ) +.BI "FILE *open_memstream(char **" ptr ", size_t *" sizeloc ); .SH DESCRIPTION The .BR fmemopen ()