diff --git a/dist.c b/dist.c index 6dd4612..ac11ef9 100644 --- a/dist.c +++ b/dist.c @@ -28,8 +28,6 @@ #include "tc.h" #include "config.h" -#define SCH_NETEM_ATTR_DIST 0x2000 - /** * Set the delay distribution. Latency/jitter must be set before applying. * @arg qdisc Netem qdisc. diff --git a/netlink-private.h b/netlink-private.h index c9a8569..ba774a0 100644 --- a/netlink-private.h +++ b/netlink-private.h @@ -12,7 +12,7 @@ #ifndef _NETLINK_PRIVATE_H_ #define _NETLINK_PRIVATE_H_ -#include +#define SCH_NETEM_ATTR_DIST 0x2000 struct rtnl_netem_corr { @@ -56,11 +56,4 @@ struct rtnl_netem void *rtnl_tc_data(struct rtnl_tc *tc); -#define BUG() \ - do { \ - fprintf(stderr, "BUG at file position %s:%d:%s\n", \ - __FILE__, __LINE__, __PRETTY_FUNCTION__); \ - assert(0); \ - } while (0) - -#endif \ No newline at end of file +#endif