Subject: CVS commit: src/lib/libc/include
To: None <source-changes@NetBSD.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 04/07/2005 16:26:35
Module Name: src
Committed By: christos
Date: Thu Apr 7 16:26:35 UTC 2005
Modified Files:
src/lib/libc/include: namespace.h
Log Message:
statvfs is both a function name and a struct tag. Defining it to _statvfs
causes lint to complain because it sees both struct statvfs and struct
_statvfs. Fix by changing the macro to have arguments.
XXX[1]: Probably this should be done for the rest of the functions that have
the same names as struct tags.
XXX[2]: Is there a better way?
To generate a diff of this commit:
cvs rdiff -r1.99 -r1.100 src/lib/libc/include/namespace.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.