Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys s/ushort/unsigned short/ as the former isn't availab...



details:   https://anonhg.NetBSD.org/src/rev/38a6e56a1144
branches:  trunk
changeset: 472002:38a6e56a1144
user:      kleink <kleink%NetBSD.org@localhost>
date:      Sat Apr 17 20:55:45 1999 +0000

description:
s/ushort/unsigned short/ as the former isn't available in an _XOPEN_SOURCE
environment.  XXX should change the interface to use uid_t/gid_t/mode_t

diffstat:

 sys/sys/ipc.h |  15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diffs (29 lines):

diff -r 98f5a6f78622 -r 38a6e56a1144 sys/sys/ipc.h
--- a/sys/sys/ipc.h     Sat Apr 17 20:03:39 1999 +0000
+++ b/sys/sys/ipc.h     Sat Apr 17 20:55:45 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ipc.h,v 1.18 1998/11/12 16:15:45 christos Exp $        */
+/*     $NetBSD: ipc.h,v 1.19 1999/04/17 20:55:45 kleink Exp $  */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -52,12 +52,13 @@
 #define _SYS_IPC_H_
 
 struct ipc_perm {
-       ushort  cuid;   /* creator user id */
-       ushort  cgid;   /* creator group id */
-       ushort  uid;    /* user id */
-       ushort  gid;    /* group id */
-       ushort  mode;   /* r/w permission */
-       ushort  seq;    /* sequence # (to generate unique msg/sem/shm id) */
+       unsigned short  cuid;   /* creator user id */
+       unsigned short  cgid;   /* creator group id */
+       unsigned short  uid;    /* user id */
+       unsigned short  gid;    /* group id */
+       unsigned short  mode;   /* r/w permission */
+       unsigned short  seq;    /* sequence # (to generate unique msg/sem/shm
+                                  id) */
        key_t   key;    /* user specified msg/sem/shm key */
 };
 



Home | Main Index | Thread Index | Old Index