diff options
author | Runxi Yu <me@runxiyu.org> | 2025-06-10 12:24:19 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-06-10 12:24:19 +0800 |
commit | a4f1c7d38c3aaf6064145398503c0b15afed350e (patch) | |
tree | 2065e0dcaf8bc34768474cb2af7c4d56c538324d | |
parent | git2d: Fix socket fd leak and memory leak in main loop (diff) | |
download | forge-a4f1c7d38c3aaf6064145398503c0b15afed350e.tar.gz forge-a4f1c7d38c3aaf6064145398503c0b15afed350e.tar.zst forge-a4f1c7d38c3aaf6064145398503c0b15afed350e.zip |
-rw-r--r-- | git2d/x.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; |