[PATCH wayland] server, server-core: Minimize fwd decs, use macro, and format
Pekka Paalanen
ppaalanen at gmail.com
Tue Jun 7 13:21:32 UTC 2016
On Mon, 23 May 2016 17:59:33 -0600
Yong Bakos <junk at humanoriented.com> wrote:
> From: Yong Bakos <ybakos at humanoriented.com>
>
> wayland-server.h: Adjust line breaks between prototypes.
>
> wayland-server-core.h:
> Adjust line breaks between prototypes.
> Adjust space between splats and identifiers.
> Remove unconventional linebreak before first parameter.
> Add line breaks after return types.
> Remove unnecessary forward declarations, and:
> - move 'struct wl_client' declaration close to the dependent typedef
> - tastefully move 'wl_shm_buffer_get' to leverage the return type
> Replace explicit __attribute__ with WL_PRINTF macro.
>
> Signed-off-by: Yong Bakos <ybakos at humanoriented.com>
> ---
> src/wayland-server-core.h | 51 +++++++++++++++++++++++++++--------------------
> src/wayland-server.h | 2 +-
> 2 files changed, 30 insertions(+), 23 deletions(-)
Pushed:
fe31d2f..826b166 master -> master
Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 811 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20160607/c24b84b0/attachment-0001.sig>
More information about the wayland-devel
mailing list