History

header: fix broken headers for user space

__packed is only defined in kernel space, so we should use __attribute__((packed)) for the code shared between kernel and user space. Two __attribute() annotations are replaced with __attribute__() too.

Changli Gao committed 16 years ago

Commit 09cd2b91 parent 48d3ff810 files · +26 −26Browse files

Showing the changes to include/linux/netfilter (1 of 10 files). Show all

Unified · Split

include/linux/netfilter/xt_IDLETIMER.h+1−1
@@ -39,7 +39,7 @@ struct idletimer_tg_info { · 38 unmodified lines
39 char label[MAX_IDLETIMER_LABEL_SIZE];39 char label[MAX_IDLETIMER_LABEL_SIZE];
40 40
41 /* for kernel module internal use only */41 /* for kernel module internal use only */
42 struct idletimer_tg *timer __attribute((aligned(8)));42 struct idletimer_tg *timer __attribute__((aligned(8)));
43};43};
44 44
45#endif45#endif

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