From a4f1c7d38c3aaf6064145398503c0b15afed350e Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Tue, 10 Jun 2025 12:24:19 +0800 Subject: [PATCH] git2d: x.h include guard should be before its own includes --- git2d/x.h | 6 +++--- diff --git a/git2d/x.h b/git2d/x.h index 96ade205255dcf5a1fa2d8b8696f8f5eb80bae82..a6da50fa085442e2b540d95ccf2543700e5b0c3b 100644 --- a/git2d/x.h +++ b/git2d/x.h @@ -3,6 +3,9 @@ * SPDX-License-Identifier: AGPL-3.0-only * SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu */ +#ifndef X_H +#define X_H + #include #include #include @@ -18,9 +21,6 @@ #include #include #include "bare.h" - -#ifndef X_H -#define X_H typedef struct { int fd; -- 2.48.1