From a36618aaa6b23db1e9e6102931f235c5f273a75f Mon Sep 17 00:00:00 2001 From: alfred Date: Fri, 22 Mar 2002 19:43:21 +0000 Subject: rename 'enum res' and 'struct status' to 'enum sm_res' and 'struct sm_status' to avoid -Wshadow warnings in consumers of its generated header files. --- include/rpcsvc/sm_inter.x | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/rpcsvc') diff --git a/include/rpcsvc/sm_inter.x b/include/rpcsvc/sm_inter.x index 6e1862b..4ca2ded 100644 --- a/include/rpcsvc/sm_inter.x +++ b/include/rpcsvc/sm_inter.x @@ -106,13 +106,13 @@ struct sm_stat { int state; /* state # of status monitor */ }; -enum res { +enum sm_res { stat_succ = 0, /* status monitor agrees to monitor */ stat_fail = 1 /* status monitor cannot monitor */ }; struct sm_stat_res { - res res_stat; + sm_res res_stat; int state; }; @@ -120,7 +120,7 @@ struct sm_stat_res { * structure of the status message sent back by the status monitor * when monitor site status changes */ -struct status { +struct sm_status { string mon_name; int state; opaque priv[16]; /* stored private information */ -- cgit v1.1