summaryrefslogtreecommitdiffstats
path: root/include/protocols
diff options
context:
space:
mode:
authordima <dima@FreeBSD.org>1998-10-20 07:07:07 +0000
committerdima <dima@FreeBSD.org>1998-10-20 07:07:07 +0000
commit68f507056941cf35219b6b3dc04f80b1f3f89a23 (patch)
tree2b994e36d8951c2d96088fcd0a31d68ef7f33eb1 /include/protocols
parentd58bc5bf6e146c4472d6ebf854549c9f78a3ed65 (diff)
downloadFreeBSD-src-68f507056941cf35219b6b3dc04f80b1f3f89a23.zip
FreeBSD-src-68f507056941cf35219b6b3dc04f80b1f3f89a23.tar.gz
make talk/talkd work on alpha.
Diffstat (limited to 'include/protocols')
-rw-r--r--include/protocols/talkd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/protocols/talkd.h b/include/protocols/talkd.h
index 34b5da2..962e47b 100644
--- a/include/protocols/talkd.h
+++ b/include/protocols/talkd.h
@@ -62,10 +62,10 @@ typedef struct {
u_char type; /* request type, see below */
u_char answer; /* not used */
u_char pad;
- u_long id_num; /* message id */
+ u_int32_t id_num; /* message id */
struct osockaddr addr; /* old (4.3) style */
struct osockaddr ctl_addr; /* old (4.3) style */
- long pid; /* caller's process id */
+ int32_t pid; /* caller's process id */
#define NAME_SIZE 12
char l_name[NAME_SIZE];/* caller's name */
char r_name[NAME_SIZE];/* callee's name */
@@ -81,7 +81,7 @@ typedef struct {
u_char type; /* type of request message, see below */
u_char answer; /* respose to request message, see below */
u_char pad;
- u_long id_num; /* message id */
+ u_int32_t id_num; /* message id */
struct osockaddr addr; /* address for establishing conversation */
} CTL_RESPONSE;
OpenPOWER on IntegriCloud