[PATCH wayland] wayland-egl: Ignore underscored symbols in ABI check

Pekka Paalanen ppaalanen at gmail.com
Wed Mar 21 08:27:00 UTC 2018


On Tue, 20 Mar 2018 11:46:32 +0000
Daniel Stone <daniel at fooishbar.org> wrote:

> inconvenience of maintaining a list of every linker's implementation
> detail on every platform, outweighs the risk of an exported
> underscore-prefixed symbol slipping through review.

Hi,

how about we make it a coding style rule to not have any symbols
starting with an underscore?

I don't recall any already being in the code for either Wayland or
Weston, but I didn't check. They certainly are not public ABI as the
ABI check script would have listed such.

Aren't symbols (functions, variables) starting with an underscore
reserved in C so should not be used anyway?


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20180321/b73be490/attachment.sig>


More information about the wayland-devel mailing list