summaryrefslogtreecommitdiffstats
path: root/gl/lib/attribute.h
diff options
context:
space:
mode:
Diffstat (limited to 'gl/lib/attribute.h')
-rw-r--r--gl/lib/attribute.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gl/lib/attribute.h b/gl/lib/attribute.h
index 9464fde..710341b 100644
--- a/gl/lib/attribute.h
+++ b/gl/lib/attribute.h
@@ -1,6 +1,6 @@
/* ATTRIBUTE_* macros for using attributes in GCC and similar compilers
- Copyright 2020-2023 Free Software Foundation, Inc.
+ Copyright 2020-2024 Free Software Foundation, Inc.
This file is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
@@ -182,6 +182,8 @@
/* The function does not throw exceptions. */
/* Applies to: functions. */
+/* After a function's parameter list, this attribute must come first, before
+ other attributes. */
#define ATTRIBUTE_NOTHROW _GL_ATTRIBUTE_NOTHROW
/* Do not inline the function. */