From 14898d3f2ca4d4ed634c218c41919e5f4fd32620 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Mon, 5 Sep 2022 17:56:18 -0700 Subject: [PATCH] ortho: swap fPQ.h header guards for more modern #pragma once --- lib/ortho/fPQ.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/ortho/fPQ.h b/lib/ortho/fPQ.h index ed37708aa..4856a61b2 100644 --- a/lib/ortho/fPQ.h +++ b/lib/ortho/fPQ.h @@ -13,6 +13,8 @@ * Contributors: Details at https://graphviz.org *************************************************************************/ +#pragma once + #include #include @@ -22,9 +24,6 @@ #define N_EDGE(n) (n)->n_edge #define E_WT(e) (e->weight) -#ifndef FPQ_H -#define FPQ_H - void PQgen(int sz); void PQfree(void); void PQinit(void); @@ -35,4 +34,3 @@ void PQdownheap (int k); snode* PQremove (void); void PQupdate (snode* n, int d); void PQprint (void); -#endif -- 2.40.0