add nc.h to avoid implicit declaration warning

This commit is contained in:
Liam Waldron 2023-04-13 08:16:13 -04:00
parent c9a84395d7
commit df97708b38
2 changed files with 9 additions and 0 deletions

View File

@ -2,6 +2,8 @@
#include <stdlib.h>
#include <unistd.h>
#include "nc.h"
int main(int argc, char *argv[]) {
int opt;

7
src/nc.h Normal file
View File

@ -0,0 +1,7 @@
#ifndef NC_H_
#define NC_H_
char mkevent(int argc, char *argv[]);
char printevents();
#endif