From fe8471fc51ff62cd04a1f9790636933fd6ceac34 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Wed, 20 Oct 2021 17:23:20 -0700 Subject: [PATCH] lib/patchwork: replace header guards with more modern #pragma once --- lib/patchwork/patchwork.h | 4 +--- lib/patchwork/tree_map.h | 5 +---- 2 files changed, 2 insertions(+), 7 deletions(-) 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 -- 2.49.0