formatting
This commit is contained in:
parent
203d7fee48
commit
4e3d6f9b4a
3 changed files with 27 additions and 26 deletions
BIN
.cache/clangd/index/XD.c.CF9B5320BE29FE6C.idx
Normal file
BIN
.cache/clangd/index/XD.c.CF9B5320BE29FE6C.idx
Normal file
Binary file not shown.
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,3 +1,4 @@
|
||||||
*.o
|
*.o
|
||||||
XD
|
XD
|
||||||
compile_commands.json
|
compile_commands.json
|
||||||
|
.cache
|
||||||
|
|
|
||||||
4
XD.c
4
XD.c
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue