Source-Changes-HG archive

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

[src/trunk]: src/sys/external/bsd/compiler_rt/dist/lib - include <sys/cdefs.h...



details:   https://anonhg.NetBSD.org/src/rev/f0ddf05b330a
branches:  trunk
changeset: 326804:f0ddf05b330a
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Feb 18 20:53:44 2014 +0000

description:
- include <sys/cdefs.h> for compiler definitions
- add a lint comment

diffstat:

 sys/external/bsd/compiler_rt/dist/lib/int_util.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 38a20c78af2a -r f0ddf05b330a sys/external/bsd/compiler_rt/dist/lib/int_util.c
--- a/sys/external/bsd/compiler_rt/dist/lib/int_util.c  Tue Feb 18 20:43:36 2014 +0000
+++ b/sys/external/bsd/compiler_rt/dist/lib/int_util.c  Tue Feb 18 20:53:44 2014 +0000
@@ -7,7 +7,7 @@
  *
  * ===----------------------------------------------------------------------===
  */
-
+#include <sys/cdefs.h>
 #include "int_util.h"
 #include "int_lib.h"
 
@@ -54,6 +54,7 @@
 __attribute__((weak))
 __attribute__((visibility("hidden")))
 #endif
+/*ARGSUSED*/
 void compilerrt_abort_impl(const char *file, int line, const char *function) {
   abort();
 }



Home | Main Index | Thread Index | Old Index