Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Apr 2020 15:55:08 +0000 (UTC)
From:      Alex Richardson <arichardson@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r360152 - head/tests/sys/kqueue/libkqueue
Message-ID:  <202004211555.03LFt87u049620@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202004211555.03LFt87u049620>