ESH

Executive Shell
git clone http://git.omkov.net/ESH
Log | Tree | Refs | README | Download

AuthorJamozed <[email protected]>
Date2021-03-09 11:02:27
Commit5ae61ff80f3d9fb33f482b2df36a755160a6b785
Parent4bd4d45f625e72071b9290941dcedc48485bb2c4

Update lex.h and parse.h header guards

Diffstat

M src/lex.h | 6 +++---
M src/parse.h | 10 ++++------

2 files changed, 7 insertions, 9 deletions

diff --git a/src/lex.h b/src/lex.h
index 11f4da7..20e3d47 100644
--- a/src/lex.h
+++ b/src/lex.h
@@ -30,8 +30,8 @@ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE.
 */
 
-#ifndef OSH_LEX_H_MA6B50VH
-#define OSH_LEX_H_MA6B50VH
+#ifndef OMKOV_OSH_LEX_H_MA6B50VH
+#define OMKOV_OSH_LEX_H_MA6B50VH
 
 #include <stdio.h>
 
@@ -43,4 +43,4 @@ typedef struct { enum token tok; char *str; } tok_t;
 
 extern tok_t lex(FILE *file);
 
-#endif // OSH_LEX_H_MA6B50VH
+#endif // OMKOV_OSH_LEX_H_MA6B50VH
diff --git a/src/parse.h b/src/parse.h
index e27e8c5..18202b8 100644
--- a/src/parse.h
+++ b/src/parse.h
@@ -30,11 +30,9 @@ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE.
 */
 
-#ifndef OSH_PARSE_H_G9TJ04KR
-#define OSH_PARSE_H_G9TJ04KR
+#ifndef OMKOV_OSH_PARSE_H_G9TJ04KR
+#define OMKOV_OSH_PARSE_H_G9TJ04KR
 
-#include <stdio.h>
+extern char **parse(char *s);
 
-extern char **parse(FILE *file);
-
-#endif // OSH_PARSE_H_G9TJ04KR
+#endif // OMKOV_OSH_PARSE_H_G9TJ04KR