Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Define __sa_family_t.



details:   https://anonhg.NetBSD.org/src/rev/7a4829d819b7
branches:  trunk
changeset: 493878:7a4829d819b7
user:      kleink <kleink%NetBSD.org@localhost>
date:      Mon Jun 26 15:45:43 2000 +0000

description:
Define __sa_family_t.

diffstat:

 sys/sys/ansi.h |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 9ee8ec769bd5 -r 7a4829d819b7 sys/sys/ansi.h
--- a/sys/sys/ansi.h    Mon Jun 26 15:42:16 2000 +0000
+++ b/sys/sys/ansi.h    Mon Jun 26 15:45:43 2000 +0000
@@ -1,11 +1,11 @@
-/*     $NetBSD: ansi.h,v 1.1 2000/06/04 08:50:28 itojun Exp $  */
+/*     $NetBSD: ansi.h,v 1.2 2000/06/26 15:45:43 kleink Exp $  */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
  * All rights reserved.
  *
  * This code is derived from software contributed to The NetBSD Foundation
- * by Jun-ichiro itojun Hagino.
+ * by Jun-ichiro itojun Hagino and by Klaus Klein.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
@@ -39,8 +39,9 @@
 #ifndef        _SYS_ANSI_H_
 #define        _SYS_ANSI_H_
 
-#include <sys/cdefs.h>
+#include <machine/int_types.h>
 
-typedef unsigned int __socklen_t;
+typedef __uint8_t      __sa_family_t;
+typedef unsigned int   __socklen_t;
 
 #endif /* _SYS_ANSI_H_ */



Home | Main Index | Thread Index | Old Index