]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/pppd.h
Added ability to detect and use either gcc or Sun WorkShop C compiler
[ppp.git] / pppd / pppd.h
index 1a5a10991325c97186f113dc7c60ab4be0f81e05..fde104bc1b06a9fc74bf3b7f24d23f5bc10886b2 100644 (file)
@@ -16,7 +16,7 @@
  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  *
- * $Id: pppd.h,v 1.72 2002/09/01 12:00:15 dfs Exp $
+ * $Id: pppd.h,v 1.73 2002/09/07 05:15:25 carlsonj Exp $
  */
 
 /*
@@ -79,7 +79,7 @@ typedef struct {
        enum opt_type type;
        void    *addr;
        char    *description;
-       int     flags;
+       unsigned int flags;
        void    *addr2;
        int     upper_limit;
        int     lower_limit;
@@ -120,7 +120,7 @@ typedef struct {
 #define OPT_A2PRINTER  0x10000000 /* *addr2 is a fn for printing option */
 #define OPT_A2STRVAL   0x20000000 /* *addr2 points to current string value */
 #define OPT_NOPRINT    0x40000000 /* don't print this option at all */
-#define OPT_A3OR       0x80000000 /* addr3 -> third location to rcv | value */
+#define OPT_A3OR       0x80000000u /* addr3 -> third location to rcv | value */
 
 #define OPT_VAL(x)     ((x) & OPT_VALUE)