]> granicus.if.org Git - graphviz/commitdiff
lib/xdot: replace header guards with more modern #pragma once
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 17 Oct 2021 01:16:17 +0000 (18:16 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 20 Oct 2021 01:37:21 +0000 (18:37 -0700)
lib/xdot/xdot.h

index e3d32eff3d4c0f7ec967decc404a05c8c0e3e095..3a86d56f0b1b5795651ddd57410f59bafebe00ac 100644 (file)
@@ -8,8 +8,8 @@
  * Contributors: Details at https://graphviz.org
  *************************************************************************/
 
-#ifndef XDOT_H
-#define XDOT_H
+#pragma once
+
 #include <stdio.h>
 
 #ifdef __cplusplus
@@ -182,4 +182,3 @@ XDOT_API void freeXDotColor (xdot_color*);
 #ifdef __cplusplus
 }
 #endif
-#endif