ppp: bump to 2.4.6
[openwrt/svn-archive/archive.git] / package / network / services / ppp / patches / 131-missing_prototype_macro.patch
1 --- a/pppd/pppd.h
2 +++ b/pppd/pppd.h
3 @@ -67,6 +67,9 @@
4 #define volatile
5 #endif
6
7 +#undef __P
8 +#define __P(args) args
9 +
10 #ifdef INET6
11 #include "eui64.h"
12 #endif
13 --- a/pppd/magic.h
14 +++ b/pppd/magic.h
15 @@ -42,6 +42,8 @@
16 * $Id: magic.h,v 1.5 2003/06/11 23:56:26 paulus Exp $
17 */
18
19 +#include "pppd.h"
20 +
21 void magic_init __P((void)); /* Initialize the magic number generator */
22 u_int32_t magic __P((void)); /* Returns the next magic number */
23