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
140 140
141#endif /* _NETINET_IN_H */141#endif /* _NETINET_IN_H */
142 142
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
162/* Definitions for xattr.h */143/* Definitions for xattr.h */
163#if defined(_SYS_XATTR_H)144#if defined(_SYS_XATTR_H)
164#define __UAPI_DEF_XATTR 0145#define __UAPI_DEF_XATTR 0
@@ -240,23 +221,6 @@ · 75 unmodified lines
240#define __UAPI_DEF_IP6_MTUINFO 1221#define __UAPI_DEF_IP6_MTUINFO 1
241#endif222#endif
242 223
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
260/* Definitions for xattr.h */224/* Definitions for xattr.h */
261#ifndef __UAPI_DEF_XATTR225#ifndef __UAPI_DEF_XATTR
262#define __UAPI_DEF_XATTR 1226#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