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 all we are saying is, give lint ...



details:   https://anonhg.NetBSD.org/xsrc/rev/1bb302f6de15
branches:  trunk
changeset: 10269:1bb302f6de15
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Apr 18 16:41:55 2019 +0000

description:
all we are saying is, give lint a chance

diffstat:

 external/mit/libepoxy/src/egl_generated_dispatch.c |  2 +-
 external/mit/libepoxy/src/gl_generated_dispatch.c  |  2 +-
 external/mit/libepoxy/src/glx_generated_dispatch.c |  2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diffs (36 lines):

diff -r 8ae6a1b1db6e -r 1bb302f6de15 external/mit/libepoxy/src/egl_generated_dispatch.c
--- a/external/mit/libepoxy/src/egl_generated_dispatch.c        Thu Apr 18 10:09:37 2019 +0000
+++ b/external/mit/libepoxy/src/egl_generated_dispatch.c        Thu Apr 18 16:41:55 2019 +0000
@@ -9,7 +9,7 @@
 #include "dispatch_common.h"
 #include "epoxy/egl.h"
 
-#ifdef __GNUC__
+#if defined(__GNUC__) || defined(__lint__)
 #define EPOXY_NOINLINE __attribute__((noinline))
 #elif defined (_MSC_VER)
 #define EPOXY_NOINLINE __declspec(noinline)
diff -r 8ae6a1b1db6e -r 1bb302f6de15 external/mit/libepoxy/src/gl_generated_dispatch.c
--- a/external/mit/libepoxy/src/gl_generated_dispatch.c Thu Apr 18 10:09:37 2019 +0000
+++ b/external/mit/libepoxy/src/gl_generated_dispatch.c Thu Apr 18 16:41:55 2019 +0000
@@ -31,7 +31,7 @@
 #include "dispatch_common.h"
 #include "epoxy/gl.h"
 
-#ifdef __GNUC__
+#if defined(__GNUC__) || defined(__lint__)
 #define EPOXY_NOINLINE __attribute__((noinline))
 #elif defined (_MSC_VER)
 #define EPOXY_NOINLINE __declspec(noinline)
diff -r 8ae6a1b1db6e -r 1bb302f6de15 external/mit/libepoxy/src/glx_generated_dispatch.c
--- a/external/mit/libepoxy/src/glx_generated_dispatch.c        Thu Apr 18 10:09:37 2019 +0000
+++ b/external/mit/libepoxy/src/glx_generated_dispatch.c        Thu Apr 18 16:41:55 2019 +0000
@@ -9,7 +9,7 @@
 #include "dispatch_common.h"
 #include "epoxy/glx.h"
 
-#ifdef __GNUC__
+#if defined(__GNUC__) || defined(__lint__)
 #define EPOXY_NOINLINE __attribute__((noinline))
 #elif defined (_MSC_VER)
 #define EPOXY_NOINLINE __declspec(noinline)



Home | Main Index | Thread Index | Old Index