summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2022-02-15 03:31:18 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2022-02-15 03:31:18 +0000
commit56415d628ac37135795aebf82668a6ecd51eef88 (patch)
treef6c9e791ce30e7c767a1ed779a2e38feb9b9b003 /sys/net
parentd1fbae0933cba12c4c8d5c44ce5e368ca52bc838 (diff)
remove unused and uneeded bits in a byte define
posix requires a byte to be 8 bits
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/pipex_local.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/net/pipex_local.h b/sys/net/pipex_local.h
index b8c51fc4c15..6d0dc4a5ac5 100644
--- a/sys/net/pipex_local.h
+++ b/sys/net/pipex_local.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pipex_local.h,v 1.44 2022/01/02 22:36:04 jsg Exp $ */
+/* $OpenBSD: pipex_local.h,v 1.45 2022/02/15 03:31:17 jsg Exp $ */
/*
* Copyright (c) 2009 Internet Initiative Japan Inc.
@@ -46,10 +46,6 @@
#define PIPEX_PPPMINLEN 5
/* minimum PPP header length is 1 and minimum ppp payload length is 4 */
-#ifndef NNBY /* usually defined on the <sys/types.h> */
-#define NNBY 8 /* number of bits of a byte */
-#endif
-
#define PIPEX_MPPE_NOLDKEY 64 /* should be power of two */
#define PIPEX_MPPE_OLDKEYMASK (PIPEX_MPPE_NOLDKEY - 1)