summaryrefslogtreecommitdiff
path: root/cgi-bin
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2018-07-09 13:42:25 -0400
committerMichael R Sweet <michael.r.sweet@gmail.com>2018-07-09 13:42:25 -0400
commita32af27c4c7ef29221d0764a251ff85244c20c64 (patch)
treebefabaf68d828301ff2dd01eb2604f66cc92cf93 /cgi-bin
parentbe3b49a3f9b9daf673860788780ec92f04c35d12 (diff)
downloadcups-a32af27c4c7ef29221d0764a251ff85244c20c64.tar.gz
Replace the rest of the uses of __attribute__ that need to be portable (Issue #5349)
Diffstat (limited to 'cgi-bin')
-rw-r--r--cgi-bin/help-index.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/cgi-bin/help-index.c b/cgi-bin/help-index.c
index 8e00f0467..5f76d7aa5 100644
--- a/cgi-bin/help-index.c
+++ b/cgi-bin/help-index.c
@@ -134,11 +134,7 @@ static int help_load_file(help_index_t *hi,
const char *filename,
const char *relative,
time_t mtime);
-static help_node_t *help_new_node(const char *filename, const char *anchor,
- const char *section, const char *text,
- time_t mtime, off_t offset,
- size_t length)
- __attribute__((nonnull(1,3,4)));
+static help_node_t *help_new_node(const char *filename, const char *anchor, const char *section, const char *text, time_t mtime, off_t offset, size_t length) _CUPS_NONNULL(1,3,4);
static int help_sort_by_name(help_node_t *p1, help_node_t *p2);
static int help_sort_by_score(help_node_t *p1, help_node_t *p2);
static int help_sort_words(help_word_t *w1, help_word_t *w2);