diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-05-01 15:08:21 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-05-01 15:08:21 +0000 |
commit | 085b9d98d3dcfc403b02ac4dbd997fa44bb20c06 (patch) | |
tree | c8dbd6631a09400472328197f6be8525959c8362 /sys/lib/libkern/arch/alpha/htons.S | |
parent | 7e0f3fab5bbe6ab5f854a9eb5628b68fd5de3b21 (diff) |
copied from libc
Diffstat (limited to 'sys/lib/libkern/arch/alpha/htons.S')
-rw-r--r-- | sys/lib/libkern/arch/alpha/htons.S | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/sys/lib/libkern/arch/alpha/htons.S b/sys/lib/libkern/arch/alpha/htons.S new file mode 100644 index 00000000000..7ab417a7792 --- /dev/null +++ b/sys/lib/libkern/arch/alpha/htons.S @@ -0,0 +1,32 @@ +/* $NetBSD: htons.S,v 1.1 1996/04/17 22:46:43 cgd Exp $ */ + +/* + * Copyright (c) 1996 Carnegie-Mellon University. + * All rights reserved. + * + * Author: Chris G. Demetriou + * + * Permission to use, copy, modify and distribute this software and + * its documentation is hereby granted, provided that both the copyright + * notice and this permission notice appear in all copies of the + * software, derivative works or modified versions, and any portions + * thereof, and that both notices appear in supporting documentation. + * + * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" + * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND + * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. + * + * Carnegie Mellon requests users of this software to return to + * + * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU + * School of Computer Science + * Carnegie Mellon University + * Pittsburgh PA 15213-3890 + * + * any improvements or extensions that they make and grant Carnegie the + * rights to redistribute these changes. + */ + +#define NAME htons + +#include "byte_swap_2.S" |