Print this page
10113 fmd_adm_xprt_f should return void

@@ -22,15 +22,17 @@
 /*
  * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
+/*
+ * Copyright (c) 2018, Joyent, Inc.
+ */
+
 #ifndef _FMD_ADM_H
 #define _FMD_ADM_H
 
-#pragma ident   "%Z%%M% %I%     %E% SMI"
-
 #include <fm/fmd_api.h>
 
 #ifdef  __cplusplus
 extern "C" {
 #endif

@@ -127,11 +129,11 @@
 
 extern int fmd_adm_serd_iter(fmd_adm_t *, const char *,
     fmd_adm_serd_f *, void *);
 extern int fmd_adm_serd_reset(fmd_adm_t *, const char *, const char *);
 
-typedef int fmd_adm_xprt_f(id_t, void *);
+typedef void fmd_adm_xprt_f(id_t, void *);
 
 extern int fmd_adm_xprt_iter(fmd_adm_t *, fmd_adm_xprt_f *, void *);
 extern int fmd_adm_xprt_stats(fmd_adm_t *, id_t, fmd_adm_stats_t *);
 
 extern int fmd_adm_log_rotate(fmd_adm_t *, const char *);