History

uapi: libc-compat: remove ipx leftovers

The uAPI headers for IPX were deleted 3 years ago in commit 6c9b40844751 ("net: Remove net/ipx.h and uapi/linux/ipx.h header files") Delete the leftover defines from libc-compat.h

Jakub Kicinski committed 2 years ago

Commit b2155801 parent 3b7dc701 file · +0 −36Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/linux/libc-compat.h+0−36
@@ -140,25 +140,6 @@ · 139 unmodified lines
140140
141141 #endif /* _NETINET_IN_H */
142142
143−/* Coordinate with glibc netipx/ipx.h header. */
144−#if defined(__NETIPX_IPX_H)
145−
146−#define __UAPI_DEF_SOCKADDR_IPX 0
147−#define __UAPI_DEF_IPX_ROUTE_DEFINITION 0
148−#define __UAPI_DEF_IPX_INTERFACE_DEFINITION 0
149−#define __UAPI_DEF_IPX_CONFIG_DATA 0
150−#define __UAPI_DEF_IPX_ROUTE_DEF 0
151−
152−#else /* defined(__NETIPX_IPX_H) */
153−
154−#define __UAPI_DEF_SOCKADDR_IPX 1
155−#define __UAPI_DEF_IPX_ROUTE_DEFINITION 1
156−#define __UAPI_DEF_IPX_INTERFACE_DEFINITION 1
157−#define __UAPI_DEF_IPX_CONFIG_DATA 1
158−#define __UAPI_DEF_IPX_ROUTE_DEF 1
159−
160−#endif /* defined(__NETIPX_IPX_H) */
161−
162143 /* Definitions for xattr.h */
163144 #if defined(_SYS_XATTR_H)
164145 #define __UAPI_DEF_XATTR 0
@@ -240,23 +221,6 @@ · 75 unmodified lines
240221 #define __UAPI_DEF_IP6_MTUINFO 1
241222 #endif
242223
243−/* Definitions for ipx.h */
244−#ifndef __UAPI_DEF_SOCKADDR_IPX
245−#define __UAPI_DEF_SOCKADDR_IPX 1
246−#endif
247−#ifndef __UAPI_DEF_IPX_ROUTE_DEFINITION
248−#define __UAPI_DEF_IPX_ROUTE_DEFINITION 1
249−#endif
250−#ifndef __UAPI_DEF_IPX_INTERFACE_DEFINITION
251−#define __UAPI_DEF_IPX_INTERFACE_DEFINITION 1
252−#endif
253−#ifndef __UAPI_DEF_IPX_CONFIG_DATA
254−#define __UAPI_DEF_IPX_CONFIG_DATA 1
255−#endif
256−#ifndef __UAPI_DEF_IPX_ROUTE_DEF
257−#define __UAPI_DEF_IPX_ROUTE_DEF 1
258−#endif
259−
260224 /* Definitions for xattr.h */
261225 #ifndef __UAPI_DEF_XATTR
262226 #define __UAPI_DEF_XATTR 1

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t