[PATCH] libmbim-glib: consistently use spaces for indentation

Aleksander Morgado aleksander at aleksander.es
Fri May 23 03:07:06 PDT 2014


On 05/22/2014 02:40 AM, Ben Chan wrote:
> ---
>  src/libmbim-glib/mbim-compat.c     | 26 +++++++++++++-------------
>  src/libmbim-glib/mbim-compat.h     | 10 +++++-----
>  src/libmbim-glib/mbim-version.h.in |  2 +-
>  3 files changed, 19 insertions(+), 19 deletions(-)
> 

Pushed, thanks.

> diff --git a/src/libmbim-glib/mbim-compat.c b/src/libmbim-glib/mbim-compat.c
> index ee30a48..edf513d 100644
> --- a/src/libmbim-glib/mbim-compat.c
> +++ b/src/libmbim-glib/mbim-compat.c
> @@ -1,4 +1,4 @@
> -/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
> +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
>  /*
>   * This library is free software; you can redistribute it and/or
>   * modify it under the terms of the GNU Lesser General Public
> @@ -45,14 +45,14 @@
>   */
>  MbimMessage *
>  mbim_message_device_service_subscriber_list_set_new (
> -	guint32 events_count,
> -	const MbimEventEntry *const *events,
> -	GError **error)
> +    guint32 events_count,
> +    const MbimEventEntry *const *events,
> +    GError **error)
>  {
>      return (mbim_message_device_service_subscribe_list_set_new (
> -				events_count,
> -				events,
> -				error));
> +                events_count,
> +                events,
> +                error));
>  }
>  
>  /**
> @@ -70,14 +70,14 @@ mbim_message_device_service_subscriber_list_set_new (
>   */
>  gboolean
>  mbim_message_device_service_subscriber_list_response_parse (
> -	const MbimMessage *message,
> +    const MbimMessage *message,
>      guint32 *events_count,
>      MbimEventEntry ***events,
>      GError **error)
>  {
> -	return (mbim_message_device_service_subscribe_list_response_parse (
> -				message,
> -				events_count,
> -				events,
> -				error));
> +    return (mbim_message_device_service_subscribe_list_response_parse (
> +                message,
> +                events_count,
> +                events,
> +                error));
>  }
> diff --git a/src/libmbim-glib/mbim-compat.h b/src/libmbim-glib/mbim-compat.h
> index 8fbf8b8..0edd527 100644
> --- a/src/libmbim-glib/mbim-compat.h
> +++ b/src/libmbim-glib/mbim-compat.h
> @@ -1,4 +1,4 @@
> -/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
> +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
>  /*
>   * This library is free software; you can redistribute it and/or
>   * modify it under the terms of the GNU Lesser General Public
> @@ -59,13 +59,13 @@ G_DEPRECATED_FOR (MBIM_CID_BASIC_CONNECT_DEVICE_SERVICE_SUBSCRIBE_LIST)
>  
>  G_DEPRECATED_FOR (mbim_message_device_service_subscribe_list_set_new)
>  MbimMessage *mbim_message_device_service_subscriber_list_set_new (
> -	guint32 events_count,
> -	const MbimEventEntry *const *events,
> -	GError **error);
> +    guint32 events_count,
> +    const MbimEventEntry *const *events,
> +    GError **error);
>  
>  G_DEPRECATED_FOR (mbim_message_device_service_subscribe_list_response_parse)
>  gboolean mbim_message_device_service_subscriber_list_response_parse (
> -	const MbimMessage *message,
> +    const MbimMessage *message,
>      guint32 *events_count,
>      MbimEventEntry ***events,
>      GError **error);
> diff --git a/src/libmbim-glib/mbim-version.h.in b/src/libmbim-glib/mbim-version.h.in
> index 23debda..3a7397b 100644
> --- a/src/libmbim-glib/mbim-version.h.in
> +++ b/src/libmbim-glib/mbim-version.h.in
> @@ -1,4 +1,4 @@
> -/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
> +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
>  /*
>   * This library is free software; you can redistribute it and/or
>   * modify it under the terms of the GNU Lesser General Public
> 


-- 
Aleksander
https://aleksander.es


More information about the libmbim-devel mailing list