From 68179c3df2d966fb85732fde63852e449a8dd3ab Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 29 Jan 2015 20:44:38 +0000 Subject: [PATCH] Remove va_arg hack for Clang/PPC. --- lib/libc/compat/sys/compat___semctl13.c | 7 ++----- lib/libc/compat/sys/compat_semctl.c | 7 ++----- lib/libc/sys/semctl.c | 7 ++----- 3 files changed, 6 insertions(+), 15 deletions(-) diff --git a/lib/libc/compat/sys/compat___semctl13.c b/lib/libc/compat/sys/compat___semctl13.c index 89449156d44d..4a0b0060adfa 100644 --- a/lib/libc/compat/sys/compat___semctl13.c +++ b/lib/libc/compat/sys/compat___semctl13.c @@ -1,4 +1,4 @@ -/* $NetBSD: compat___semctl13.c,v 1.5 2014/08/13 14:43:48 joerg Exp $ */ +/* $NetBSD: compat___semctl13.c,v 1.6 2015/01/29 20:44:38 joerg Exp $ */ /*- * Copyright (c) 2008 The NetBSD Foundation, Inc. @@ -37,7 +37,7 @@ */ #include #if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: compat___semctl13.c,v 1.5 2014/08/13 14:43:48 joerg Exp $"); +__RCSID("$NetBSD: compat___semctl13.c,v 1.6 2015/01/29 20:44:38 joerg Exp $"); #endif /* LIBC_SCCS and not lint */ #include "namespace.h" @@ -47,9 +47,6 @@ __RCSID("$NetBSD: compat___semctl13.c,v 1.5 2014/08/13 14:43:48 joerg Exp $"); #include #include #include -#if defined(__clang__) && defined(__powerpc__) && !defined(__powerpc64__) -#define __lint__ -#endif #ifdef __lint__ #include #endif diff --git a/lib/libc/compat/sys/compat_semctl.c b/lib/libc/compat/sys/compat_semctl.c index d04f99315df9..1bc0233c20d1 100644 --- a/lib/libc/compat/sys/compat_semctl.c +++ b/lib/libc/compat/sys/compat_semctl.c @@ -1,4 +1,4 @@ -/* $NetBSD: compat_semctl.c,v 1.5 2014/08/13 14:43:48 joerg Exp $ */ +/* $NetBSD: compat_semctl.c,v 1.6 2015/01/29 20:44:38 joerg Exp $ */ /* * Copyright (c) 1994, 1995 Christopher G. Demetriou @@ -36,7 +36,7 @@ #include #if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: compat_semctl.c,v 1.5 2014/08/13 14:43:48 joerg Exp $"); +__RCSID("$NetBSD: compat_semctl.c,v 1.6 2015/01/29 20:44:38 joerg Exp $"); #endif /* LIBC_SCCS and not lint */ #define __LIBC12_SOURCE__ @@ -46,9 +46,6 @@ __RCSID("$NetBSD: compat_semctl.c,v 1.5 2014/08/13 14:43:48 joerg Exp $"); #include #include #include -#if defined(__clang__) && defined(__powerpc__) && !defined(__powerpc64__) -#define __lint__ -#endif #ifdef __lint__ #include #endif diff --git a/lib/libc/sys/semctl.c b/lib/libc/sys/semctl.c index fa6eef2ea794..0134edad8ae2 100644 --- a/lib/libc/sys/semctl.c +++ b/lib/libc/sys/semctl.c @@ -1,4 +1,4 @@ -/* $NetBSD: semctl.c,v 1.17 2014/08/13 14:43:48 joerg Exp $ */ +/* $NetBSD: semctl.c,v 1.18 2015/01/29 20:44:38 joerg Exp $ */ /*- * Copyright (c) 2000 The NetBSD Foundation, Inc. @@ -30,16 +30,13 @@ */ #include #if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: semctl.c,v 1.17 2014/08/13 14:43:48 joerg Exp $"); +__RCSID("$NetBSD: semctl.c,v 1.18 2015/01/29 20:44:38 joerg Exp $"); #endif /* LIBC_SCCS and not lint */ #include #include #include #include -#if defined(__clang__) && defined(__powerpc__) && !defined(__powerpc64__) -#define __lint__ -#endif #ifdef __lint__ #include #endif