svn commit: r360152 - head/tests/sys/kqueue/libkqueue
Alex Richardson
arichardson at FreeBSD.org
Tue Apr 21 15:55:08 UTC 2020
Author: arichardson
Date: Tue Apr 21 15:55:08 2020
New Revision: 360152
URL: https://svnweb.freebsd.org/changeset/base/360152
Log:
Remove extern from function declarations in common.h
Suggested by: cem
Modified:
head/tests/sys/kqueue/libkqueue/common.h
Modified: head/tests/sys/kqueue/libkqueue/common.h
==============================================================================
--- head/tests/sys/kqueue/libkqueue/common.h Tue Apr 21 15:54:08 2020 (r360151)
+++ head/tests/sys/kqueue/libkqueue/common.h Tue Apr 21 15:55:08 2020 (r360152)
@@ -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 */
More information about the svn-src-head
mailing list