summaryrefslogtreecommitdiff
path: root/timer.h
blob: 68809a68d44227f44aa530d41c09dfc3470380d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
#ifndef TIMER_H
#define TIMER_H

#include <sys/time.h>

extern void set_itimer_interval_value(struct itimerval *itimer, unsigned long sec,
				      unsigned long usec);

extern int get_user_hz(void);

#endif /* TIMER_H */
authorSven Eckelmann <sven@narfation.org>2017-01-28 10:23:30 +0100
committerSimon Wunderlich <sw@simonwunderlich.de>2017-01-28 10:40:35 +0100
commit3e7514afc7d728dd47c5fe9d7a1f5216fe659cda (patch)
tree9983b6f6140a81410aa83b75648ee8a2473a17f9
parent7c946062b3ae2b7f002383e5e402113e98ad3c77 (diff)
batman-adv: Fix includes for IS_ERR/ERR_PTR
IS_ERR/ERR_PTR are not defined in linux/device.h but in linux/err.h. The files using these macros therefore have to include the correct one. Reported-by: Linus Luessing <linus.luessing@web.de> Signed-off-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat