formatting

This commit is contained in:
Squibid 2025-11-10 19:08:44 -05:00
parent 203d7fee48
commit 4e3d6f9b4a
Signed by: squibid
GPG key ID: BECE5684D3C4005D
3 changed files with 27 additions and 26 deletions

Binary file not shown.

1
.gitignore vendored
View file

@ -1,3 +1,4 @@
*.o *.o
XD XD
compile_commands.json compile_commands.json
.cache

4
XD.c
View file

@ -59,7 +59,7 @@ static int explain = 0;
* @return absolute path to git repo * @return absolute path to git repo
*/ */
char char
*find_git_repo() *find_git_repo(void)
{ {
char path[PATH_MAX] = ".", fstr[PATH_MAX], *rpath, *res; char path[PATH_MAX] = ".", fstr[PATH_MAX], *rpath, *res;
struct stat s; struct stat s;
@ -121,7 +121,7 @@ char
* @return a pointer to the git repo object * @return a pointer to the git repo object
*/ */
git_repository git_repository
*init_git() *init_git(void)
{ {
char *buf; char *buf;
git_repository *repo; git_repository *repo;