NetBSD/lib/libc/net/Lint_ntohs.c
christos bcb1db5f7b Make these work again, by undef'ing the macro that could cause syntax errors.
Also add NOSTRICT in the {h,n}to{n,h}s() cases where the prototype would get
widened...
1999-05-03 13:12:34 +00:00

18 lines
278 B
C

/* $NetBSD: Lint_ntohs.c,v 1.2 1999/05/03 13:12:34 christos Exp $ */
/*
* This file placed in the public domain.
* Chris Demetriou, November 5, 1997.
*/
#include <sys/types.h>
#undef ntohs
/*ARGSUSED*//*NOSTRICT*/
in_port_t
ntohs(net16)
in_port_t net16;
{
return (0);
}