aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/iomgr/wakeup_fd_cv.h
diff options
context:
space:
mode:
authorGravatar Vijay Pai <vpai@google.com>2017-09-12 14:31:11 -0700
committerGravatar Vijay Pai <vpai@google.com>2017-09-13 10:39:28 -0700
commit4a7fca5b655f5e9114c81f48b3615847c5cb783d (patch)
treecb3756f7fceb06b4fa9d5aa721ba0774afd1ffc4 /src/core/lib/iomgr/wakeup_fd_cv.h
parentce286cb3a8946ff85d760d3988a75a5fcafe1b60 (diff)
Give guidance on prefixing struct/enum/#define names
Diffstat (limited to 'src/core/lib/iomgr/wakeup_fd_cv.h')
-rw-r--r--src/core/lib/iomgr/wakeup_fd_cv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/lib/iomgr/wakeup_fd_cv.h b/src/core/lib/iomgr/wakeup_fd_cv.h
index 46e84f5843..dc170ad5b4 100644
--- a/src/core/lib/iomgr/wakeup_fd_cv.h
+++ b/src/core/lib/iomgr/wakeup_fd_cv.h
@@ -37,8 +37,8 @@
#include "src/core/lib/iomgr/ev_posix.h"
-#define FD_TO_IDX(fd) (-(fd)-1)
-#define IDX_TO_FD(idx) (-(idx)-1)
+#define GRPC_FD_TO_IDX(fd) (-(fd)-1)
+#define GRPC_IDX_TO_FD(idx) (-(idx)-1)
typedef struct cv_node {
gpr_cv* cv;