Commit 9c106c24 authored by Alessandro Rubini's avatar Alessandro Rubini

ptpd-wrappers: added prototypes for freestanding build

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 474aa0b2
......@@ -57,6 +57,14 @@ static inline void ptpd_handle_wripc() {}
//#define sprintf(buf, ...) msprintf(buf, __VA_ARGS__)
//#define DBG(x, ...) mprintf(x, ##__VA_ARGS__)
/* The following prototypes are for functions defined in wrpc-sw */
int mprintf(char const *format, ...)
__attribute__((format(printf,1,2)));
void get_mac_addr(uint8_t dev_addr[]);
void wr_servo_reset(void);
void spll_enable_ptracker(int ref_channel, int enable);
#endif /* hosted */
......
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