Created tuntap.h to allow for proper use of tun_alloc in tetra_llc.c

Change-Id: If920c15e4dafb48d5df70ce20532ecb19bd01ee3
This commit is contained in:
wbokslag 2022-07-11 14:26:51 +02:00
parent bdc9b28693
commit 8ab1283296
2 changed files with 7 additions and 0 deletions

View File

@ -28,6 +28,7 @@
#include <osmocom/core/bits.h>
#include "tetra_llc_pdu.h"
#include "tuntap.h"
static int tun_fd = -1;

6
src/tuntap.h Normal file
View File

@ -0,0 +1,6 @@
#ifndef TUNTAP_H
#define TUNTAP_H
int tun_alloc(char *dev);
#endif