HomeFreeBSD

Fixed prototype for setflags(). setflags() returns int, not u_long,

Description

Fixed prototype for setflags(). setflags() returns int, not u_long,
and "extern" in function prototypes is a style bug. The type mismatch
broke chflags(1) on i386's with 64-bit longs and may have broken it on
alphas.

Details

Provenance
Bruce Evans <bde@FreeBSD.org>Authored on Apr 4 2000, 2:12 PM
Parents
rGafb8931fa806: Remove obsolete reference to PCVT_FREEBSD.
Branches
Unknown
Tags
Unknown

Event Timeline