Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/sys/endian.h,v rcsdiff: /ftp/cvs/cvsroot/src/sys/sys/endian.h,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.23 retrieving revision 1.24 diff -u -p -r1.23 -r1.24 --- src/sys/sys/endian.h 2006/02/04 01:07:20 1.23 +++ src/sys/sys/endian.h 2006/05/05 15:08:11 1.24 @@ -1,4 +1,4 @@ -/* $NetBSD: endian.h,v 1.23 2006/02/04 01:07:20 uwe Exp $ */ +/* $NetBSD: endian.h,v 1.24 2006/05/05 15:08:11 christos Exp $ */ /* * Copyright (c) 1987, 1991, 1993 @@ -65,10 +65,10 @@ typedef __in_port_t in_port_t; #endif __BEGIN_DECLS -uint32_t htonl(uint32_t) __attribute__((const)); -uint16_t htons(uint16_t) __attribute__((const)); -uint32_t ntohl(uint32_t) __attribute__((const)); -uint16_t ntohs(uint16_t) __attribute__((const)); +uint32_t htonl(uint32_t) __attribute__((__const__)); +uint16_t htons(uint16_t) __attribute__((__const__)); +uint32_t ntohl(uint32_t) __attribute__((__const__)); +uint16_t ntohs(uint16_t) __attribute__((__const__)); __END_DECLS #endif /* !_LOCORE */