[Replicant] [libsamsung-ipc] [PATCH 4/4] samsung-ipc: make #include relative to samsung-ipc/

Denis 'GNUtoo' Carikli GNUtoo at cyberdimension.org
Thu Jul 16 13:49:39 UTC 2020


On Wed, 15 Jul 2020 19:12:40 +0200
Denis 'GNUtoo' Carikli <GNUtoo at cyberdimension.org> wrote:

While rebasing some patches on top of this one I found the following
issue:
[...]
> diff --git a/samsung-ipc/devices/ipc_devices.c
> b/samsung-ipc/devices/ipc_devices.c index 73f2914..fc767e0 100644
> --- a/samsung-ipc/devices/ipc_devices.c
> +++ b/samsung-ipc/devices/ipc_devices.c
> @@ -20,8 +20,7 @@
>  #include <stdlib.h>
>  
>  #include <samsung-ipc.h>
> -
> -#include "ipc_devices.h"
> +#include "devices/ipc_devices.h"

Here that produces the following result:
> #include <samsung-ipc.h>
> #include "devices/ipc_devices.h"

Instead we want to add a space between both lines to distinguish between
the include that is publicly exported (samsung-ipc.h) and the includes
internal to libsamsung-ipc.

This looks better:
> #include <samsung-ipc.h>
>
> #include "devices/ipc_devices.h"

I'll incorporate that fix before pushing the patch.

Denis.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.osuosl.org/pipermail/replicant/attachments/20200716/0c36503c/attachment.asc>


More information about the Replicant mailing list