Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[xsrc/trunk]: xsrc/external/mit/libepoxy/src Fix lint build.
details: https://anonhg.NetBSD.org/xsrc/rev/39cbcf94ed15
branches: trunk
changeset: 10334:39cbcf94ed15
user: christos <christos%NetBSD.org@localhost>
date: Sat Jul 13 22:09:14 2019 +0000
description:
Fix lint build.
diffstat:
external/mit/libepoxy/src/egl_generated_dispatch.c | 4 ++--
external/mit/libepoxy/src/gl_generated_dispatch.c | 4 ++--
external/mit/libepoxy/src/glx_generated_dispatch.c | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diffs (42 lines):
diff -r 3591e354b095 -r 39cbcf94ed15 external/mit/libepoxy/src/egl_generated_dispatch.c
--- a/external/mit/libepoxy/src/egl_generated_dispatch.c Thu Jul 11 08:08:47 2019 +0000
+++ b/external/mit/libepoxy/src/egl_generated_dispatch.c Sat Jul 13 22:09:14 2019 +0000
@@ -11,8 +11,8 @@
#include "dispatch_common.h"
#include "epoxy/egl.h"
-#ifdef __GNUC__
-#define EPOXY_NOINLINE __attribute__((noinline))
+#if defined(__GNUC__) || defined(__lint__)
+#define EPOXY_NOINLINE __attribute__((__noinline__))
#elif defined (_MSC_VER)
#define EPOXY_NOINLINE __declspec(noinline)
#endif
diff -r 3591e354b095 -r 39cbcf94ed15 external/mit/libepoxy/src/gl_generated_dispatch.c
--- a/external/mit/libepoxy/src/gl_generated_dispatch.c Thu Jul 11 08:08:47 2019 +0000
+++ b/external/mit/libepoxy/src/gl_generated_dispatch.c Sat Jul 13 22:09:14 2019 +0000
@@ -33,8 +33,8 @@
#include "dispatch_common.h"
#include "epoxy/gl.h"
-#ifdef __GNUC__
-#define EPOXY_NOINLINE __attribute__((noinline))
+#if defined(__GNUC__) || defined(__lint__)
+#define EPOXY_NOINLINE __attribute__((__noinline__))
#elif defined (_MSC_VER)
#define EPOXY_NOINLINE __declspec(noinline)
#endif
diff -r 3591e354b095 -r 39cbcf94ed15 external/mit/libepoxy/src/glx_generated_dispatch.c
--- a/external/mit/libepoxy/src/glx_generated_dispatch.c Thu Jul 11 08:08:47 2019 +0000
+++ b/external/mit/libepoxy/src/glx_generated_dispatch.c Sat Jul 13 22:09:14 2019 +0000
@@ -11,8 +11,8 @@
#include "dispatch_common.h"
#include "epoxy/glx.h"
-#ifdef __GNUC__
-#define EPOXY_NOINLINE __attribute__((noinline))
+#if defined(__GNUC__) || defined(__lint__)
+#define EPOXY_NOINLINE __attribute__((__noinline__))
#elif defined (_MSC_VER)
#define EPOXY_NOINLINE __declspec(noinline)
#endif
Home |
Main Index |
Thread Index |
Old Index