aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/ccp.h
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>1998-06-15 19:06:58 +0000
committerBrian Somers <brian@FreeBSD.org>1998-06-15 19:06:58 +0000
commitd93d3a9c32d3e1ba843e8e7033f6570c714f86df (patch)
tree688b48f8ca9968b60febe73fe13bf9be4db9b9d6 /usr.sbin/ppp/ccp.h
parentc9e11a112d47edb5544b4bbe115837c89329c798 (diff)
downloadsrc-d93d3a9c32d3e1ba843e8e7033f6570c714f86df.tar.gz
src-d93d3a9c32d3e1ba843e8e7033f6570c714f86df.zip
o De-staticise things that don't need to be static.
o Bring the static ``ttystate'' into struct prompt so that the tilde context is per prompt and not global. o Comment the remaining static variables so that it's clear why they're static. o Add some XXX comments suggesting that our interface list and our hostname should be re-generated after a signal (say SIGUSR1) so that a machine with PCCARDs has a chance.
Notes
Notes: svn path=/head/; revision=37010
Diffstat (limited to 'usr.sbin/ppp/ccp.h')
-rw-r--r--usr.sbin/ppp/ccp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ppp/ccp.h b/usr.sbin/ppp/ccp.h
index 8b1787bc6895..f7788858185f 100644
--- a/usr.sbin/ppp/ccp.h
+++ b/usr.sbin/ppp/ccp.h
@@ -15,7 +15,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: ccp.h,v 1.15 1998/05/21 21:44:23 brian Exp $
+ * $Id: ccp.h,v 1.16 1998/05/23 13:38:02 brian Exp $
*
* TODO:
*/
@@ -93,8 +93,8 @@ struct ccp {
struct ccp_algorithm {
int id;
- int Neg; /* ccp_config neg array item */
- const char *(*Disp)(struct lcp_opt *);
+ int Neg; /* ccp_config neg array item */
+ const char *(*Disp)(struct lcp_opt *); /* Use result immediately ! */
struct {
int (*Set)(struct lcp_opt *, const struct ccp_config *);
void *(*Init)(struct lcp_opt *);