All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tilman Sauerbeck <tilman@code-monkey.de>
To: Julien Cristau <jcristau@debian.org>
Cc: dri-devel@lists.freedesktop.org
Subject: Re: [PATCH 1/3] Add _DRM_HIDDEN macro
Date: Sat, 12 Jun 2010 16:49:09 +0200	[thread overview]
Message-ID: <20100612144909.GB32736@code-monkey.de> (raw)
In-Reply-To: <1276206611-13623-1-git-send-email-jcristau@debian.org>


[-- Attachment #1.1: Type: text/plain, Size: 1180 bytes --]

Julien Cristau [2010-06-10 23:50]:
> Introduce a new internal header since that doesn't seem to exist yet.
> Or maybe I should rename xf86atomic.h instead.
> ---
>  xf86drm-internals.h |   12 ++++++++++++
>  1 files changed, 12 insertions(+), 0 deletions(-)
>  create mode 100644 xf86drm-internals.h
> 
> diff --git a/xf86drm-internals.h b/xf86drm-internals.h
> new file mode 100644
> index 0000000..bf5ff51
> --- /dev/null
> +++ b/xf86drm-internals.h
> @@ -0,0 +1,12 @@
> +#ifndef XF86DRM_INTERNALS_H
> +#define XF86DRM_INTERNALS_H
> +
> +#if defined(__GNUC__) && (__GNUC__ >= 4)
> +# define _DRM_HIDDEN      __attribute__((visibility("hidden")))
> +#elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550)
> +# define _DRM_HIDDEN      __hidden
> +#else /* not gcc >= 4 and not Sun Studio >= 8 */
> +# define _X_HIDDEN
            ^^^^^^^^^
This should say _DRM_HIDDEN, I guess :)

> +#endif /* GNUC >= 4 */
> +
> +#endif
> -- 
> 1.7.1
 
Regards,
Tilman

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?

[-- Attachment #1.2: Type: application/pgp-signature, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

  parent reply	other threads:[~2010-06-12 14:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-10 21:50 [PATCH 1/3] Add _DRM_HIDDEN macro Julien Cristau
2010-06-10 21:50 ` [PATCH 2/3] libkms: don't export internal functions Julien Cristau
2010-06-10 21:50 ` [PATCH 3/3] radeon: " Julien Cristau
2010-06-10 22:01 ` [PATCH 1/3] Add _DRM_HIDDEN macro Julien Cristau
2010-06-12 14:49 ` Tilman Sauerbeck [this message]
2010-06-12 15:22   ` Julien Cristau

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=20100612144909.GB32736@code-monkey.de \
    --to=tilman@code-monkey.de \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jcristau@debian.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.