diff options
author | peter <peter@FreeBSD.org> | 1996-08-18 16:14:03 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1996-08-18 16:14:03 +0000 |
commit | 5de44aa3b7d940245812204daecd8b0558928b68 (patch) | |
tree | 56d60a1312cdcd5283a0bb02358625912dbc7304 /share/examples | |
parent | 25ef40abac2326a689460bbe1e35f1963b4dccbf (diff) | |
download | FreeBSD-src-5de44aa3b7d940245812204daecd8b0558928b68.zip FreeBSD-src-5de44aa3b7d940245812204daecd8b0558928b68.tar.gz |
Add __unused to the list of __dead, __dead2, __pure, __pure2 etc.
gcc-2.7 has __attribute__((unused)) as a postfix operator on function
arguments to prevent -Wunused from complaining about them. gcc < 2.7
doesn't have anything like this (and doesn't care about it either).
eg:
int foo(bar, baz)
int bar __unused; /* needed because of function pointer typing */
char *baz __unused;
{
return (1);
}
Diffstat (limited to 'share/examples')
0 files changed, 0 insertions, 0 deletions