move internally used defines away from header

Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
pull/106/head^2
Luotao Fu 2009-11-23 15:38:07 +01:00
parent dc8f25b61a
commit c73035239f
2 changed files with 5 additions and 5 deletions

View File

@ -22,11 +22,6 @@
#include <linux/can/netlink.h>
#define GET_STATE 1
#define GET_RESTART_MS 2
#define GET_BITTIMING 3
#define GET_CTRLMODE 4
int scan_set_restart(const char *name);
int scan_set_bitrate(const char *name, __u32 bitrate);
int scan_set_restart_ms(const char *name, __u32 restart_ms);

View File

@ -41,6 +41,11 @@
#define IF_UP 1
#define IF_DOWN 2
#define GET_STATE 1
#define GET_RESTART_MS 2
#define GET_BITTIMING 3
#define GET_CTRLMODE 4
struct get_req {
struct nlmsghdr n;
struct rtgenmsg g;