summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorJames Carlson <carlsonj@workingcode.com>2002-09-07 05:15:25 +0000
committerJames Carlson <carlsonj@workingcode.com>2002-09-07 05:15:25 +0000
commitfcec736c6140de7ac8fa9a8fe425932d13b0e45a (patch)
tree2776618637deed16c72933dfdbd08111591e516f /modules
parentc294523750856c8ab8bf40901aef3843b9374624 (diff)
downloadppp-fcec736c6140de7ac8fa9a8fe425932d13b0e45a.tar.gz
Added ability to detect and use either gcc or Sun WorkShop C compiler
on Solaris. Added support for Solaris 10. Quieted down warning in ppp_comp.c due to bad preprocessor usage. Quieted WorkShop warnings in options.c (casting of void * to function) and pppd.h (constant too large). Tested in 32 and 64 bit modes with gcc and WorkShop.
Diffstat (limited to 'modules')
-rw-r--r--modules/ppp_comp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/ppp_comp.c b/modules/ppp_comp.c
index 7c475ef..87d0c1d 100644
--- a/modules/ppp_comp.c
+++ b/modules/ppp_comp.c
@@ -24,7 +24,7 @@
* OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS,
* OR MODIFICATIONS.
*
- * $Id: ppp_comp.c,v 1.12 1999/09/15 23:49:06 masputra Exp $
+ * $Id: ppp_comp.c,v 1.13 2002/09/07 05:15:25 carlsonj Exp $
*/
/*
@@ -616,7 +616,7 @@ ppp_comp_wsrv(q)
if (!bcanputnext(q,mp->b_band))
#else
if (!canputnext(q))
-#endif PRIOQ
+#endif /* PRIOQ */
{
putbq(q, mp);
break;
@@ -694,7 +694,7 @@ ppp_comp_wsrv(q)
if (cmp != NULL) {
#ifdef PRIOQ
cmp->b_band=mp->b_band;
-#endif PRIOQ
+#endif /* PRIOQ */
freemsg(mp);
mp = cmp;
}