From 3ffa9342143fe71b14d68a35fe3eae4ff1be3f8e Mon Sep 17 00:00:00 2001 From: kevlo Date: Thu, 14 Jan 2016 01:33:16 +0000 Subject: - Add the 'restrict' type qualifier to match function prototype. - Remove sys/types.h. --- lib/libc/sys/stat.2 | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'lib/libc/sys') diff --git a/lib/libc/sys/stat.2 b/lib/libc/sys/stat.2 index 5e49b3c..3405d6e 100644 --- a/lib/libc/sys/stat.2 +++ b/lib/libc/sys/stat.2 @@ -28,7 +28,7 @@ .\" @(#)stat.2 8.4 (Berkeley) 5/1/95 .\" $FreeBSD$ .\" -.Dd June 2, 2012 +.Dd January 14, 2016 .Dt STAT 2 .Os .Sh NAME @@ -40,12 +40,11 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.In sys/types.h .In sys/stat.h .Ft int -.Fn stat "const char *path" "struct stat *sb" +.Fn stat "const char * restrict path" "struct stat * restrict sb" .Ft int -.Fn lstat "const char *path" "struct stat *sb" +.Fn lstat "const char * restrict path" "struct stat * restrict sb" .Ft int .Fn fstat "int fd" "struct stat *sb" .Ft int -- cgit v1.1