Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Aug 2019 17:52:03 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r350919 - stable/12/sbin/nvmecontrol
Message-ID:  <201908121752.x7CHq3gS025955@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Mon Aug 12 17:52:03 2019
New Revision: 350919
URL: https://svnweb.freebsd.org/changeset/base/350919

Log:
  MFC r341662 (by imp): Use proper prototypes.

Modified:
  stable/12/sbin/nvmecontrol/nvmecontrol.h
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sbin/nvmecontrol/nvmecontrol.h
==============================================================================
--- stable/12/sbin/nvmecontrol/nvmecontrol.h	Mon Aug 12 17:51:28 2019	(r350918)
+++ stable/12/sbin/nvmecontrol/nvmecontrol.h	Mon Aug 12 17:52:03 2019	(r350919)
@@ -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?201908121752.x7CHq3gS025955>