remove swblk_t type from sys/types.h

- it is currently unused (except in some regress)
- it is non-standard
- it shouldn't have been visible in first place

ok jca@ mpi@ todd@ deraadt@
This commit is contained in:
semarie 2022-08-06 13:31:13 +00:00
parent feafcb922f
commit 8fc78b5a68
4 changed files with 3 additions and 7 deletions

View File

@ -1,4 +1,4 @@
/* $OpenBSD: nm1.C,v 1.2 2017/02/07 12:57:12 bluhm Exp $ */
/* $OpenBSD: nm1.C,v 1.3 2022/08/06 13:31:13 semarie Exp $ */
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
@ -23,7 +23,6 @@ D(sa_family_t)
D(segsz_t)
D(socklen_t)
D(suseconds_t)
D(swblk_t)
D(uid_t)
D(uint64_t)
D(uint32_t)

View File

@ -18,7 +18,6 @@ sa_family_t(unsigned char)
segsz_t(int)
socklen_t(unsigned int)
suseconds_t(long)
swblk_t(int)
uid_t(unsigned int)
uint64_t(unsigned long long)
uint32_t(unsigned int)

View File

@ -1,4 +1,4 @@
/* $OpenBSD: _types.h,v 1.9 2014/08/22 23:05:15 krw Exp $ */
/* $OpenBSD: _types.h,v 1.10 2022/08/06 13:31:13 semarie Exp $ */
/*-
* Copyright (c) 1990, 1993
@ -60,7 +60,6 @@ typedef __uint8_t __sa_family_t; /* sockaddr address family type */
typedef __int32_t __segsz_t; /* segment size */
typedef __uint32_t __socklen_t; /* length type for network syscalls */
typedef long __suseconds_t; /* microseconds (signed) */
typedef __int32_t __swblk_t; /* swap offset */
typedef __int64_t __time_t; /* epoch time */
typedef __int32_t __timer_t; /* POSIX timer identifiers */
typedef __uint32_t __uid_t; /* user id */

View File

@ -1,4 +1,4 @@
/* $OpenBSD: types.h,v 1.48 2019/02/09 04:54:11 guenther Exp $ */
/* $OpenBSD: types.h,v 1.49 2022/08/06 13:31:13 semarie Exp $ */
/* $NetBSD: types.h,v 1.29 1996/11/15 22:48:25 jtc Exp $ */
/*-
@ -144,7 +144,6 @@ typedef __mode_t mode_t; /* permissions */
typedef __nlink_t nlink_t; /* link count */
typedef __rlim_t rlim_t; /* resource limit */
typedef __segsz_t segsz_t; /* segment size */
typedef __swblk_t swblk_t; /* swap offset */
typedef __uid_t uid_t; /* user id */
typedef __useconds_t useconds_t; /* microseconds */
typedef __suseconds_t suseconds_t; /* microseconds (signed) */