Source-Changes-HG archive

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

[src/trunk]: src/lib/libc Remove va_arg hack for Clang/PPC.



details:   https://anonhg.NetBSD.org/src/rev/82a29db6f139
branches:  trunk
changeset: 806050:82a29db6f139
user:      joerg <joerg%NetBSD.org@localhost>
date:      Thu Jan 29 20:44:38 2015 +0000

description:
Remove va_arg hack for Clang/PPC.

diffstat:

 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(-)

diffs (83 lines):

diff -r 2d6ed76c30b3 -r 82a29db6f139 lib/libc/compat/sys/compat___semctl13.c
--- a/lib/libc/compat/sys/compat___semctl13.c   Thu Jan 29 20:41:33 2015 +0000
+++ b/lib/libc/compat/sys/compat___semctl13.c   Thu Jan 29 20:44:38 2015 +0000
@@ -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 <sys/cdefs.h>
 #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 @@
 #include <compat/sys/time.h>
 #include <sys/sem.h>
 #include <compat/sys/sem.h>
-#if defined(__clang__) && defined(__powerpc__) && !defined(__powerpc64__)
-#define __lint__
-#endif
 #ifdef __lint__
 #include <string.h>
 #endif
diff -r 2d6ed76c30b3 -r 82a29db6f139 lib/libc/compat/sys/compat_semctl.c
--- a/lib/libc/compat/sys/compat_semctl.c       Thu Jan 29 20:41:33 2015 +0000
+++ b/lib/libc/compat/sys/compat_semctl.c       Thu Jan 29 20:44:38 2015 +0000
@@ -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 <sys/cdefs.h>
 #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 @@
 #include <sys/null.h>
 #include <compat/sys/sem.h>
 #include <stdarg.h>
-#if defined(__clang__) && defined(__powerpc__) && !defined(__powerpc64__)
-#define __lint__
-#endif
 #ifdef __lint__
 #include <string.h>
 #endif
diff -r 2d6ed76c30b3 -r 82a29db6f139 lib/libc/sys/semctl.c
--- a/lib/libc/sys/semctl.c     Thu Jan 29 20:41:33 2015 +0000
+++ b/lib/libc/sys/semctl.c     Thu Jan 29 20:44:38 2015 +0000
@@ -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 <sys/cdefs.h>
 #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 <sys/types.h>
 #include <sys/ipc.h>
 #include <sys/sem.h>
 #include <stdarg.h>
-#if defined(__clang__) && defined(__powerpc__) && !defined(__powerpc64__)
-#define __lint__
-#endif
 #ifdef __lint__
 #include <string.h>
 #endif



Home | Main Index | Thread Index | Old Index