From: Matthew Fernandez Date: Tue, 6 Sep 2022 00:56:18 +0000 (-0700) Subject: ortho: swap fPQ.h header guards for more modern #pragma once X-Git-Tag: 6.0.2~46^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=14898d3f2ca4d4ed634c218c41919e5f4fd32620;p=graphviz ortho: swap fPQ.h header guards for more modern #pragma once --- 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