From f527d7de582277fbebe8897b082a726786cb11e9 Mon Sep 17 00:00:00 2001 From: Alex Richardson Date: Tue, 21 Apr 2020 15:55:08 +0000 Subject: Remove extern from function declarations in common.h Suggested by: cem --- tests/sys/kqueue/libkqueue/common.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'tests/sys/kqueue/libkqueue/common.h') diff --git a/tests/sys/kqueue/libkqueue/common.h b/tests/sys/kqueue/libkqueue/common.h index 420ba3946f5e..d621a8bf1e00 100644 --- a/tests/sys/kqueue/libkqueue/common.h +++ b/tests/sys/kqueue/libkqueue/common.h @@ -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 */ -- cgit v1.3