Remove extern from function declarations in common.h
Suggested by: cem
This commit is contained in:
parent
aea8386214
commit
09ce4f8140
@ -43,7 +43,7 @@
|
||||
extern int vnode_fd;
|
||||
extern int kqfd;
|
||||
|
||||
extern char * kevent_to_str(struct kevent *);
|
||||
char * kevent_to_str(struct kevent *);
|
||||
struct kevent * kevent_get(int);
|
||||
struct kevent * kevent_get_timeout(int, int);
|
||||
|
||||
@ -70,19 +70,19 @@ kevent_add(int kqfd, struct kevent *kev,
|
||||
} while (0);
|
||||
|
||||
/* Checks if any events are pending, which is an error. */
|
||||
extern void test_no_kevents(void);
|
||||
extern void test_no_kevents_quietly(void);
|
||||
void test_no_kevents(void);
|
||||
void test_no_kevents_quietly(void);
|
||||
|
||||
extern void test_begin(const char *);
|
||||
extern void success(void);
|
||||
void test_begin(const char *);
|
||||
void success(void);
|
||||
|
||||
extern void test_evfilt_read(void);
|
||||
extern void test_evfilt_signal(void);
|
||||
extern void test_evfilt_vnode(void);
|
||||
extern void test_evfilt_timer(void);
|
||||
extern void test_evfilt_proc(void);
|
||||
void test_evfilt_read(void);
|
||||
void test_evfilt_signal(void);
|
||||
void test_evfilt_vnode(void);
|
||||
void test_evfilt_timer(void);
|
||||
void test_evfilt_proc(void);
|
||||
#if HAVE_EVFILT_USER
|
||||
extern void test_evfilt_user(void);
|
||||
void test_evfilt_user(void);
|
||||
#endif
|
||||
|
||||
#endif /* _COMMON_H */
|
||||
|
Loading…
x
Reference in New Issue
Block a user