summaryrefslogtreecommitdiffstats
path: root/sys/netatm/uni/sscf_uni_var.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2002-11-08 18:27:30 +0000
committerjhb <jhb@FreeBSD.org>2002-11-08 18:27:30 +0000
commitb72917b520dafbce4c1cc804dc93887d66c593b3 (patch)
tree291ae2bd3be9306179924d18340c26cf8e4f0b9c /sys/netatm/uni/sscf_uni_var.h
parent451dec5f86ca56ab2475ea41c94afa7b4fc2b919 (diff)
downloadFreeBSD-src-b72917b520dafbce4c1cc804dc93887d66c593b3.zip
FreeBSD-src-b72917b520dafbce4c1cc804dc93887d66c593b3.tar.gz
- Change the ATM stack functions to use intptr_t instead of int for opaque
arguments. - Fix a few other places that assumed that sizeof(int) == sizeof(void *). Reviewed by: mdodd
Diffstat (limited to 'sys/netatm/uni/sscf_uni_var.h')
-rw-r--r--sys/netatm/uni/sscf_uni_var.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/netatm/uni/sscf_uni_var.h b/sys/netatm/uni/sscf_uni_var.h
index d3795fe..4eb938a 100644
--- a/sys/netatm/uni/sscf_uni_var.h
+++ b/sys/netatm/uni/sscf_uni_var.h
@@ -52,9 +52,9 @@ struct univcc {
void *uv_toku; /* Stack upper layer's token */
void *uv_tokl; /* Stack lower layer's token */
void (*uv_upper) /* Stack upper layer's interface */
- (int, void *, int, int);
+ (int, void *, intptr_t, intptr_t);
void (*uv_lower) /* Stack lower layer's interface */
- (int, void *, int, int);
+ (int, void *, intptr_t, intptr_t);
};
/*
@@ -98,10 +98,10 @@ void sscf_uni_abort(struct univcc *, char *);
void sscf_uni_pdu_print(struct univcc *, KBuffer *, char *);
/* sscf_uni_lower.c */
-void sscf_uni_lower(int, void *, int, int);
+void sscf_uni_lower(int, void *, intptr_t, intptr_t);
/* sscf_uni_upper.c */
-void sscf_uni_upper(int, void *, int, int);
+void sscf_uni_upper(int, void *, intptr_t, intptr_t);
/*
OpenPOWER on IntegriCloud