mirror of
https://github.com/radio95-rnt/rds95.git
synced 2026-07-31 09:19:15 +02:00
add extern declaration for nanosleep in lib.c
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
#include "rds.h"
|
#include "rds.h"
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
|
extern int nanosleep(const struct timespec *req, struct timespec *rem);
|
||||||
/* millisecond sleep */
|
/* millisecond sleep */
|
||||||
void msleep(unsigned long ms) {
|
void msleep(unsigned long ms) {
|
||||||
struct timespec ts;
|
struct timespec ts;
|
||||||
|
|||||||
Reference in New Issue
Block a user