History

Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net

Cross-merge networking fixes after downstream PR. No conflicts (or adjacent changes of note).

Jakub Kicinski committed 3 years ago

Commit 2606cf02 parents 49e7265 f291209550 files · +5537 −3311Browse files

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

Unified · Split

include/uapi/linux/stddef.h+7−0
@@ -29,6 +29,11 @@ · 28 unmodified lines
2929 struct TAG { MEMBERS } ATTRS NAME; \
3030 }
3131
32+#ifdef __cplusplus
33+/* sizeof(struct{}) is 1 in C++, not 0, can't use C version of the macro. */
34+#define __DECLARE_FLEX_ARRAY(T, member) \
35+ T member[0]
36+#else
3237 /**
3338 * __DECLARE_FLEX_ARRAY() - Declare a flexible array usable in a union
3439 *
@@ -49,3 +54,5 @@ · 14 unmodified lines
4954 #ifndef __counted_by
5055 #define __counted_by(m)
5156 #endif
57+
58+#endif /* _UAPI_LINUX_STDDEF_H */

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