summaryrefslogtreecommitdiff
path: root/lib/libc/arch/m68k
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2012-09-04 02:12:48 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2012-09-04 02:12:48 +0000
commitb8579dcb5c2fb1b397333d37c3af20f23ba5673f (patch)
treee50fe3e8ac1ce3da90254bbdb28508bcd5f49b10 /lib/libc/arch/m68k
parentfb004d932db7368ba63704b160d63317d8b671d7 (diff)
these are no longer used; ok guenther
Diffstat (limited to 'lib/libc/arch/m68k')
-rw-r--r--lib/libc/arch/m68k/sys/setlogin.S44
1 files changed, 0 insertions, 44 deletions
diff --git a/lib/libc/arch/m68k/sys/setlogin.S b/lib/libc/arch/m68k/sys/setlogin.S
deleted file mode 100644
index 18c1d3394b5..00000000000
--- a/lib/libc/arch/m68k/sys/setlogin.S
+++ /dev/null
@@ -1,44 +0,0 @@
-/* $OpenBSD: setlogin.S,v 1.5 2012/08/22 17:19:35 pascal Exp $ */
-/*-
- * Copyright (c) 1991 The Regents of the University of California.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. Neither the name of the University nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- */
-
-#include "SYS.h"
-
-.globl ___logname_valid /* in getlogin() */
-
-SYSCALL(setlogin)
-#ifdef __PIC__
- movl #__GLOBAL_OFFSET_TABLE_,a1
- lea pc@(0,a1:l),a1
- movl a1@(___logname_valid:w),a1
- clrl a1@
-#else
- clrl ___logname_valid
-#endif
- rts /* setlogin(name) */