[master] 0139f83cf Remove an unnecessary #include from VMOD blob.

Dridi Boukelmoune dridi at varni.sh
Tue Jul 17 14:08:56 UTC 2018


On Tue, Jul 17, 2018 at 3:41 PM, Geoff Simmons <geoff at uplex.de> wrote:
>
> commit 0139f83cf92330111fd3d79e76498e4597a2d9b5
> Author: Geoff Simmons <geoff at uplex.de>
> Date:   Tue Jul 17 15:39:12 2018 +0200
>
>     Remove an unnecessary #include from VMOD blob.
>
>     Had been used in its previous life as a 3rd-party VMOD.

Technically we should have it as the first include of any C file to
honor our configuration and possibly effect system-wide includes (for
example if macros like _POSIX_C_SOURCE was added at configure time).

Dridi

> diff --git a/lib/libvmod_blob/vmod_blob.c b/lib/libvmod_blob/vmod_blob.c
> index a53d8c415..920be37e0 100644
> --- a/lib/libvmod_blob/vmod_blob.c
> +++ b/lib/libvmod_blob/vmod_blob.c
> @@ -26,7 +26,6 @@
>   *
>   */
>
> -#include "config.h"
>  #include <errno.h>
>  #include <string.h>
>
> _______________________________________________
> varnish-commit mailing list
> varnish-commit at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit


More information about the varnish-commit mailing list