Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mono / utils / mono-signal-handler.h
index 68fa0ad5f62312b1e11de46d1b92e073f9eeab03..4842cb8f72bb41bf5274c6fdac634bfd9832afa9 100644 (file)
@@ -1,5 +1,6 @@
-/*
- * mono-signal-handler.h: Handle signal handler differences across platforms
+/**
+ * \file
+ * Handle signal handler differences across platforms
  *
  * Copyright (C) 2013 Xamarin Inc
  * Licensed under the MIT license. See LICENSE file in the project root for full license information.
@@ -41,7 +42,7 @@
 #ifdef KRAIT_IT_BUG_WORKAROUND
 #define MONO_SIGNAL_HANDLER_FUNC(access, name, arglist)                \
        static void __krait_ ## name arglist;   \
-       __attribute__ ((naked)) access void                             \
+       __attribute__ ((__naked__)) access void                         \
        name arglist                                                    \
        {                                                               \
                asm volatile (                                          \
@@ -52,7 +53,7 @@
                                  "b __krait_" # name                   \
                                  "\n\t");                                              \
        }       \
-       static __attribute__((used)) void __krait_ ## name arglist
+       static __attribute__ ((__used__)) void __krait_ ## name arglist
 #endif
 
 /* Don't use this */