[Mesa-dev] [PATCH 4/5] gallium/util: put (void) in a few function signatures

Marek Olšák maraeo at gmail.com
Fri Apr 13 23:52:48 UTC 2018


For patches 1 - 4:

Reviewed-by: Marek Olšák <marek.olsak at amd.com>

Marek

On Fri, Apr 13, 2018 at 5:35 PM, Brian Paul <brianp at vmware.com> wrote:

> To match the header file.
> ---
>  src/gallium/auxiliary/util/u_network.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/gallium/auxiliary/util/u_network.c
> b/src/gallium/auxiliary/util/u_network.c
> index e74293b..89395f5 100644
> --- a/src/gallium/auxiliary/util/u_network.c
> +++ b/src/gallium/auxiliary/util/u_network.c
> @@ -20,7 +20,7 @@
>  #endif
>
>  boolean
> -u_socket_init()
> +u_socket_init(void)
>  {
>  #if defined(PIPE_SUBSYSTEM_WINDOWS_USER)
>     WORD wVersionRequested;
> @@ -44,7 +44,7 @@ u_socket_init()
>  }
>
>  void
> -u_socket_stop()
> +u_socket_stop(void)
>  {
>  #if defined(PIPE_SUBSYSTEM_WINDOWS_USER)
>     WSACleanup();
> --
> 2.7.4
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180413/03dbfcbb/attachment-0001.html>


More information about the mesa-dev mailing list