[INN-COMMITTERS] inn/innd (chan.c)

Russ Allbery rra at stanford.edu
Thu Oct 5 00:07:55 UTC 2000


    Date: Wednesday, October 4, 2000 @ 17:07:54
  Author: rra

Update of /dist1/cvs/isc/inn/inn/innd
     from pub3.rc.vix.com:/tmp/cvs-serv18552

Modified: chan.c

Change CloseOnExec to close_on_exec and SetNonBlocking to nonblocking, and
define ENOTSOCK and ENOTTY at the top of the file if they're not defined to
make the later code clearer.

Clean up old typedefs and #defines.  STATIC to static, BOOL to bool,
SIZE_T to size_t, NORETURN to void, OFFSET_T to off_t, SIGHANDLER to
RETSIGTYPE, STRING to const char *, POINTER to void *, CPOINTER to const
void *, STDIN to STDIN_FILENO (and the same for STDOUT and STDERR), UID_T
to uid_t, GID_T to gid_t, FDSET to fd_set, PID_T to pid_t, and FUNCTYPE to
void.  Remove some unnecessary casts (particularly ones involving POINTER
or one of the above old typedefs) and convert some of the functions to
ANSI C prototypes although this isn't yet complete.  Also removed some
register qualifiers and fixed some minor style things.




More information about the inn-committers mailing list