mirror of https://github.com/mkerrisk/man-pages
putgrent.3: SYNOPSIS: Use 'restrict' in prototypes
glibc uses 'restrict' in putgrent(). Let's use it here too. .../glibc$ grep_glibc_prototype putgrent grp/grp.h:93: extern int putgrent (const struct group *__restrict __p, FILE *__restrict __f); .../glibc$ Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
4beb303a63
commit
5952677947
|
@ -12,7 +12,8 @@ putgrent \- write a group database entry to a file
|
|||
.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
|
||||
.B #include <grp.h>
|
||||
.PP
|
||||
.BI "int putgrent(const struct group *" grp ", FILE *" stream );
|
||||
.BI "int putgrent(const struct group *restrict " grp \
|
||||
", FILE *restrict " stream );
|
||||
.fi
|
||||
.SH DESCRIPTION
|
||||
The
|
||||
|
|
Loading…
Reference in New Issue