mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-08-17 16:51:44 +08:00
Merge branch '167-warning-no-previous-prototype-for-ec_master_nanosleep-wmissing-prototypes-when-i-try-sudo-make' into 'stable-1.6'
Resolve "warning: no previous prototype for 'ec_master_nanosleep' [-Wmissing-prototypes] when i try 'sudo make modules'" Closes #167 See merge request etherlab.org/ethercat!165
This commit is contained in:
+1
-3
@@ -126,6 +126,7 @@ static int ec_master_eoe_thread(void *);
|
||||
void ec_master_find_dc_ref_clock(ec_master_t *);
|
||||
void ec_master_clear_device_stats(ec_master_t *);
|
||||
void ec_master_update_device_stats(ec_master_t *);
|
||||
void ec_master_nanosleep(const unsigned long);
|
||||
static void sc_reset_task_kicker(struct irq_work *work);
|
||||
static void sc_reset_task(struct work_struct *work);
|
||||
|
||||
@@ -1393,9 +1394,6 @@ static enum hrtimer_restart ec_master_nanosleep_wakeup(struct hrtimer *timer)
|
||||
return HRTIMER_NORESTART;
|
||||
}
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
void ec_master_nanosleep(const unsigned long nsecs)
|
||||
|
||||
Reference in New Issue
Block a user