summaryrefslogtreecommitdiffstats
path: root/cpukit/pppd/fsm.h
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2007-03-27 10:22:16 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2007-03-27 10:22:16 +0000
commit5078ee3233a0aa1bda0d0ccd3dd209ec007f02a8 (patch)
tree1a27927544c6f549ec3a53aecebcf628a1ea40da /cpukit/pppd/fsm.h
parent2007-03-26 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-5078ee3233a0aa1bda0d0ccd3dd209ec007f02a8.tar.bz2
Eliminate __P().
Diffstat (limited to 'cpukit/pppd/fsm.h')
-rw-r--r--cpukit/pppd/fsm.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/cpukit/pppd/fsm.h b/cpukit/pppd/fsm.h
index d1e623467c..6b829516c6 100644
--- a/cpukit/pppd/fsm.h
+++ b/cpukit/pppd/fsm.h
@@ -62,33 +62,33 @@ typedef struct fsm {
typedef struct fsm_callbacks {
void (*resetci) /* Reset our Configuration Information */
- __P((fsm *));
+ (fsm *);
int (*cilen) /* Length of our Configuration Information */
- __P((fsm *));
+ (fsm *);
void (*addci) /* Add our Configuration Information */
- __P((fsm *, u_char *, int *));
+ (fsm *, u_char *, int *);
int (*ackci) /* ACK our Configuration Information */
- __P((fsm *, u_char *, int));
+ (fsm *, u_char *, int);
int (*nakci) /* NAK our Configuration Information */
- __P((fsm *, u_char *, int));
+ (fsm *, u_char *, int);
int (*rejci) /* Reject our Configuration Information */
- __P((fsm *, u_char *, int));
+ (fsm *, u_char *, int);
int (*reqci) /* Request peer's Configuration Information */
- __P((fsm *, u_char *, int *, int));
+ (fsm *, u_char *, int *, int);
void (*up) /* Called when fsm reaches OPENED state */
- __P((fsm *));
+ (fsm *);
void (*down) /* Called when fsm leaves OPENED state */
- __P((fsm *));
+ (fsm *);
void (*starting) /* Called when we want the lower layer */
- __P((fsm *));
+ (fsm *);
void (*finished) /* Called when we don't want the lower layer */
- __P((fsm *));
+ (fsm *);
void (*protreject) /* Called when Protocol-Reject received */
- __P((int));
+ (int);
void (*retransmit) /* Retransmission is necessary */
- __P((fsm *));
+ (fsm *);
int (*extcode) /* Called when unknown code received */
- __P((fsm *, int, int, u_char *, int));
+ (fsm *, int, int, u_char *, int);
char *proto_name; /* String name for protocol (for messages) */
} fsm_callbacks;
@@ -128,14 +128,14 @@ typedef struct fsm_callbacks {
/*
* Prototypes
*/
-void fsm_init __P((fsm *));
-void fsm_lowerup __P((fsm *));
-void fsm_lowerdown __P((fsm *));
-void fsm_open __P((fsm *));
-void fsm_close __P((fsm *, char *));
-void fsm_input __P((fsm *, u_char *, int));
-void fsm_protreject __P((fsm *));
-void fsm_sdata __P((fsm *, u_char, u_char, u_char *, int));
+void fsm_init(fsm *);
+void fsm_lowerup(fsm *);
+void fsm_lowerdown(fsm *);
+void fsm_open(fsm *);
+void fsm_close(fsm *, char *);
+void fsm_input(fsm *, u_char *, int);
+void fsm_protreject(fsm *);
+void fsm_sdata(fsm *, u_char, u_char, u_char *, int);
/*