Browse Source

misc/debug.h: use __attribute__ instead of __attribute in WARN_UNUSED so we don't confuse KDevelop

ambrop7 15 năm trước cách đây
mục cha
commit
bd40836418
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      misc/debug.h

+ 1 - 1
misc/debug.h

@@ -115,7 +115,7 @@
 #endif
 
 #ifdef __GNUC__
-    #define WARN_UNUSED __attribute((warn_unused_result))
+    #define WARN_UNUSED __attribute__((warn_unused_result))
 #else
     #define WARN_UNUSED
 #endif