Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27997
b: refs/heads/master
c: 2c88f4a
h: refs/heads/master
i:
  27995: ebe3889
v: v3
  • Loading branch information
David Woodhouse committed May 4, 2006
1 parent 42fe04b commit cacef98
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 90abbae2d35b3dc55fd39f8ab04acaf3da5cdc0a
refs/heads/master: 2c88f4a8bc4276013f7eee7824056d9cecccadb1
14 changes: 4 additions & 10 deletions trunk/include/linux/ppp_defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@
#ifndef _PPP_DEFS_H_
#define _PPP_DEFS_H_

#include <linux/crc-ccitt.h>

/*
* The basic PPP frame.
*/
Expand Down Expand Up @@ -97,7 +95,11 @@

#define PPP_INITFCS 0xffff /* Initial FCS value */
#define PPP_GOODFCS 0xf0b8 /* Good final FCS value */

#ifdef __KERNEL__
#include <linux/crc-ccitt.h>
#define PPP_FCS(fcs, c) crc_ccitt_byte(fcs, c)
#endif

/*
* Extended asyncmap - allows any character to be escaped.
Expand Down Expand Up @@ -179,12 +181,4 @@ struct ppp_idle {
time_t recv_idle; /* time since last NP packet received */
};

#ifndef __P
#ifdef __STDC__
#define __P(x) x
#else
#define __P(x) ()
#endif
#endif

#endif /* _PPP_DEFS_H_ */

0 comments on commit cacef98

Please sign in to comment.