svn commit: r350919 - stable/12/sbin/nvmecontrol
Alexander Motin
mav at FreeBSD.org
Mon Aug 12 17:52:04 UTC 2019
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); \
More information about the svn-src-stable-12
mailing list