Commit 0bb372a9 authored by Alessandro Rubini's avatar Alessandro Rubini

userspace: move libwr/ptpd_netif.h to include/libwr/

The header is not private to the library, wr_phytool uses it.
Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 75987d3b
// Network API for WR-PTPd
#ifndef __PTPD_NETIF_H
#define __PTPD_NETIF_H
#ifndef __LIBWR_PTPD_NETIF_H
#define __LIBWR_PTPD_NETIF_H
#include <stdio.h>
//#include <inttypes.h>
......@@ -134,4 +134,4 @@ int ptpd_netif_adjust_counters(int64_t adjust_sec, int32_t adjust_nsec);
int ptpd_netif_get_dmtd_phase(wr_socket_t *sock, int32_t *phase);
void ptpd_netif_linearize_rx_timestamp(wr_timestamp_t *ts, int32_t dmtd_phase, int cntr_ahead, int transition_point, int clock_period);
#endif
#endif /* __LIBWR_PTPD_NETIF_H */
......@@ -23,7 +23,7 @@
#include <asm/socket.h>
#include "ptpd_netif.h"
#include <libwr/ptpd_netif.h>
#include <libwr/hal_client.h>
#ifdef NETIF_VERBOSE
......
......@@ -26,7 +26,7 @@
#include <regs/endpoint-regs.h>
#undef PACKED
#include "ptpd_netif.h"
#include <libwr/ptpd_netif.h>
#include "rt_ipc.h"
#include <libwr/hal_client.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment