From: Matthew Fernandez Date: Thu, 21 Oct 2021 00:23:20 +0000 (-0700) Subject: lib/patchwork: replace header guards with more modern #pragma once X-Git-Tag: 2.50.0~66^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fe8471fc51ff62cd04a1f9790636933fd6ceac34;p=graphviz lib/patchwork: replace header guards with more modern #pragma once --- diff --git a/lib/patchwork/patchwork.h b/lib/patchwork/patchwork.h index a908080e0..5ef1c1a1f 100644 --- a/lib/patchwork/patchwork.h +++ b/lib/patchwork/patchwork.h @@ -8,8 +8,7 @@ * Contributors: Details at https://graphviz.org *************************************************************************/ -#ifndef PATCHWORK_H -#define PATCHWORK_H +#pragma once #include "render.h" #include @@ -32,4 +31,3 @@ extern void patchworkLayout(Agraph_t *g); #ifdef __cplusplus } #endif -#endif diff --git a/lib/patchwork/tree_map.h b/lib/patchwork/tree_map.h index 3659015f3..349fdc1e1 100644 --- a/lib/patchwork/tree_map.h +++ b/lib/patchwork/tree_map.h @@ -8,8 +8,7 @@ * Contributors: Details at https://graphviz.org *************************************************************************/ -#ifndef TREE_MAP_H -#define TREE_MAP_H +#pragma once #include @@ -21,5 +20,3 @@ typedef struct rectangle_struct { extern rectangle* tree_map(int n, real *area, rectangle fillrec); extern rectangle rectangle_new(real x, real y, real width, real height); - -#endif