($INBOX_DIR/description missing)
 help / color / mirror / Atom feed
From: Cyril Hrubis <chrubis@suse.cz>
To: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH v2 2/2] include: doc: Convert comments into linuxdoc
Date: Wed, 3 Apr 2024 08:07:13 +0200	[thread overview]
Message-ID: <ZgzyEfYwHIU1jJOX@rei> (raw)
In-Reply-To: <20240402164131.12535-3-chrubis@suse.cz>

Hi!
> diff --git a/include/tst_compiler.h b/include/tst_compiler.h
> new file mode 100644
> index 000000000..ec88213df
> --- /dev/null
> +++ b/include/tst_compiler.h
> @@ -0,0 +1,20 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> +
> +/**
> + * @file tst_compiler.h
> + * @brief Macros to support dumb compilers.
> + *
> + * The doxygen parser (and possibly other C tooling) does not understand
> + * __attributes__ so we have to hide them with macros.
> + */
> +
> +#ifndef TST_COMPILER_H__
> +#define TST_COMPILER_H__
> +
> +#ifdef __GNUC__
> +# define TST_ATTRIBUTE(...) __attribute__((__VA_ARGS__))
> +#else
> +# define TST_ATTRIBUTE(...)
> +#endif
> +
> +#endif	/* TST_COMPILER_H__ */

And I just realized that this is a leftover from the doxygen experiment,
so it should be dropped from the patchset. I will send a v3.

-- 
Cyril Hrubis
chrubis@suse.cz

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

      reply	other threads:[~2024-04-03  6:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-02 16:41 [LTP] [PATCH v2 0/2] doc: Add generated API docs Cyril Hrubis
2024-04-02 16:41 ` [LTP] [PATCH v2 1/2] doc: Add more to spelling_wordlist Cyril Hrubis
2024-04-02 16:41 ` [LTP] [PATCH v2 2/2] include: doc: Convert comments into linuxdoc Cyril Hrubis
2024-04-03  6:07   ` Cyril Hrubis [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZgzyEfYwHIU1jJOX@rei \
    --to=chrubis@suse.cz \
    --cc=ltp@lists.linux.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).