Fix git.h, move it to ep.h.

This commit is contained in:
Érico Rolim 2021-02-22 01:43:22 -03:00
parent 3fe513c4c9
commit d8b6432c6b
3 changed files with 5 additions and 5 deletions

2
ep.c
View File

@ -17,7 +17,7 @@
#include <pthread.h> #include <pthread.h>
#include "info_strings.h" #include "info_strings.h"
#include "git.h" #include "ep.h"
#define PROMPT " ➜ " #define PROMPT " ➜ "

View File

@ -1,8 +1,8 @@
#ifdef GIT_H #ifndef EP_H
#define GIT_H #define EP_H
/* from git.c */
extern char *git_branch_name; extern char *git_branch_name;
void *get_git_branch_name(void *); void *get_git_branch_name(void *);
#endif #endif

2
git.c
View File

@ -1,6 +1,6 @@
#include <stdio.h> #include <stdio.h>
#include "git.h" #include "ep.h"
char *git_branch_name; char *git_branch_name;