aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/atm_tcp.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-05-15 02:24:09 -0400
committerDavid S. Miller <davem@davemloft.net>2008-05-15 02:24:09 -0400
commita1a61a435b3cc157830b7d42b175151ae5eabdd3 (patch)
tree5c8a8d9561551a8666c9a78cbef64a91e901b48d /include/linux/atm_tcp.h
parent38d2f38be9e4a2f1e3324c973a903aa972f71d0f (diff)
atm: Cleanup atm_tcp.h and atm.h for userspace.
The atm_tcp.h uses types from linux/atm.h, but does not include it. It should also use the standard __u## types from linux/types.h rather than the uint##_t types since the former can be found with the kernel already. Same goes for linux/atm.h. The linux/socket.h include there also gets dropped as atm.h does not actually use anything from socket.h. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/atm_tcp.h')
-rw-r--r--include/linux/atm_tcp.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/include/linux/atm_tcp.h b/include/linux/atm_tcp.h
index 18787f9b2f19..375638f8554b 100644
--- a/include/linux/atm_tcp.h
+++ b/include/linux/atm_tcp.h
@@ -8,11 +8,9 @@
8#define LINUX_ATM_TCP_H 8#define LINUX_ATM_TCP_H
9 9
10#include <linux/atmapi.h> 10#include <linux/atmapi.h>
11 11#include <linux/atm.h>
12#ifdef __KERNEL__
13#include <linux/types.h>
14#endif
15#include <linux/atmioc.h> 12#include <linux/atmioc.h>
13#include <linux/types.h>
16 14
17 15
18/* 16/*
@@ -20,9 +18,9 @@
20 */ 18 */
21 19
22struct atmtcp_hdr { 20struct atmtcp_hdr {
23 uint16_t vpi; 21 __u16 vpi;
24 uint16_t vci; 22 __u16 vci;
25 uint32_t length; /* ... of data part */ 23 __u32 length; /* ... of data part */
26}; 24};
27 25
28/* 26/*