Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Dec 2018 23:28:56 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r341662 - head/sbin/nvmecontrol
Message-ID:  <201812062328.wB6NSubD041898@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Thu Dec  6 23:28:55 2018
New Revision: 341662
URL: https://svnweb.freebsd.org/changeset/base/341662

Log:
  Use proper prototypes.

Modified:
  head/sbin/nvmecontrol/nvmecontrol.h

Modified: head/sbin/nvmecontrol/nvmecontrol.h
==============================================================================
--- head/sbin/nvmecontrol/nvmecontrol.h	Thu Dec  6 22:59:18 2018	(r341661)
+++ head/sbin/nvmecontrol/nvmecontrol.h	Thu Dec  6 23:28:55 2018	(r341662)
@@ -96,8 +96,8 @@ struct set_concat {
 void set_concat_add(struct set_concat *m, void *begin, void *end);
 #define SET_CONCAT_DEF(set, t) 							\
 static struct set_concat set ## _concat;					\
-static inline const t * const *set ## _begin() { return ((const t * const *)set ## _concat.begin); }	\
-static inline const t * const *set ## _limit() { return ((const t * const *)set ## _concat.limit); }	\
+static inline const t * const *set ## _begin(void) { return ((const t * const *)set ## _concat.begin); }	\
+static inline const t * const *set ## _limit(void) { return ((const t * const *)set ## _concat.limit); }	\
 void add_to_ ## set(t **b, t **e)						\
 {										\
 	set_concat_add(&set ## _concat, b, e);					\



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