summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormike <mike@FreeBSD.org>2002-02-28 09:59:00 +0000
committermike <mike@FreeBSD.org>2002-02-28 09:59:00 +0000
commit26dc4f0f7a2eb66a893c30ed1a623945d88d7ce8 (patch)
treea32ab9320c3e73f7887051ccbd6f497d8a5f33b4 /sys
parent97c4e8d6843ad3997d61e240e6ce37c7fba3a221 (diff)
downloadFreeBSD-src-26dc4f0f7a2eb66a893c30ed1a623945d88d7ce8.zip
FreeBSD-src-26dc4f0f7a2eb66a893c30ed1a623945d88d7ce8.tar.gz
Remove the now unused NTOHL() family of macros.
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/param.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/sys/sys/param.h b/sys/sys/param.h
index 6f13c4b..d954ed1 100644
--- a/sys/sys/param.h
+++ b/sys/sys/param.h
@@ -267,16 +267,6 @@ __bswap64(__uint64_t x)
#endif /* _KERNEL */
/*
- * XXX deprecated uppercase variants for byteorder(3) functions.
- */
-#ifndef _POSIX_SOURCE
-#define NTOHL(x) ((x) = ntohl(x))
-#define NTOHS(x) ((x) = ntohs(x))
-#define HTONL(x) ((x) = htonl(x))
-#define HTONS(x) ((x) = htons(x))
-#endif /* _POSIX_SOURCE */
-
-/*
* Constants for setting the parameters of the kernel memory allocator.
*
* 2 ** MINBUCKET is the smallest unit of memory that will be
OpenPOWER on IntegriCloud