Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 79547
b: refs/heads/master
c: 3c582b3
h: refs/heads/master
i:
  79545: 709535c
  79543: 0eed90a
v: v3
  • Loading branch information
Stephen Hemminger authored and David S. Miller committed Jan 28, 2008
1 parent db6d127 commit 164d2d9
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 7 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: ac97f75faae2a18648145bc6bbcdd326bac6a1c2
refs/heads/master: 3c582b30bc2592081e9b23e253ca098fa7d57dc2
4 changes: 2 additions & 2 deletions trunk/drivers/net/ppp_deflate.c
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ static void z_comp_reset(void *arg)
* Returns the length of the compressed packet, or 0 if the
* packet is incompressible.
*/
int z_compress(void *arg, unsigned char *rptr, unsigned char *obuf,
static int z_compress(void *arg, unsigned char *rptr, unsigned char *obuf,
int isize, int osize)
{
struct ppp_deflate_state *state = (struct ppp_deflate_state *) arg;
Expand Down Expand Up @@ -435,7 +435,7 @@ static void z_decomp_reset(void *arg)
* bug, so we return DECOMP_FATALERROR for them in order to turn off
* compression, even though they are detected by inspecting the input.
*/
int z_decompress(void *arg, unsigned char *ibuf, int isize,
static int z_decompress(void *arg, unsigned char *ibuf, int isize,
unsigned char *obuf, int osize)
{
struct ppp_deflate_state *state = (struct ppp_deflate_state *) arg;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/ppp_generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -1871,7 +1871,7 @@ ppp_mp_insert(struct ppp *ppp, struct sk_buff *skb)
* complete packet, or we get to the sequence number for a fragment
* which hasn't arrived but might still do so.
*/
struct sk_buff *
static struct sk_buff *
ppp_mp_reconstruct(struct ppp *ppp)
{
u32 seq = ppp->nextseq;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/ppp_synctty.c
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ static void ppp_sync_process(unsigned long arg)
* Procedures for encapsulation and framing.
*/

struct sk_buff*
static struct sk_buff*
ppp_sync_txmunge(struct syncppp *ap, struct sk_buff *skb)
{
int proto;
Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/net/pppoe.c
Original file line number Diff line number Diff line change
Expand Up @@ -989,6 +989,7 @@ static __inline__ struct pppox_sock *pppoe_get_idx(loff_t pos)
}

static void *pppoe_seq_start(struct seq_file *seq, loff_t *pos)
__acquires(pppoe_hash_lock)
{
loff_t l = *pos;

Expand Down Expand Up @@ -1022,6 +1023,7 @@ static void *pppoe_seq_next(struct seq_file *seq, void *v, loff_t *pos)
}

static void pppoe_seq_stop(struct seq_file *seq, void *v)
__releases(pppoe_hash_lock)
{
read_unlock_bh(&pppoe_hash_lock);
}
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/net/slhc.c
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ put16(unsigned char *cp, unsigned short x)


/* Encode a number */
unsigned char *
static unsigned char *
encode(unsigned char *cp, unsigned short n)
{
if(n >= 256 || n == 0){
Expand All @@ -199,7 +199,7 @@ pull16(unsigned char **cpp)
}

/* Decode a number */
long
static long
decode(unsigned char **cpp)
{
register int x;
Expand Down

0 comments on commit 164d2d9

Please sign in to comment.