Print this page
10113 fmd_adm_xprt_f should return void

*** 22,36 **** /* * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #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 --- 22,38 ---- /* * 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 #include <fm/fmd_api.h> #ifdef __cplusplus extern "C" { #endif
*** 127,137 **** 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 *); 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 *); --- 129,139 ---- 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 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 *);