aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--git2d/x.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/git2d/x.h b/git2d/x.h
index 96ade20..a6da50f 100644
--- a/git2d/x.h
+++ b/git2d/x.h
@@ -3,6 +3,9 @@
* SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
*/
+#ifndef X_H
+#define X_H
+
#include <err.h>
#include <errno.h>
#include <git2.h>
@@ -19,9 +22,6 @@
#include "bare.h"
-#ifndef X_H
-#define X_H
-
typedef struct {
int fd;
} conn_io_t;