summaryrefslogtreecommitdiff
path: root/dpid/dpid_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'dpid/dpid_common.h')
-rw-r--r--dpid/dpid_common.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/dpid/dpid_common.h b/dpid/dpid_common.h
index 6df55ae1..fd0e094f 100644
--- a/dpid/dpid_common.h
+++ b/dpid/dpid_common.h
@@ -35,12 +35,9 @@
#define CKD_WRITE(fd, msg) ckd_write(fd, msg, __FILE__, __LINE__)
#define CKD_CLOSE(fd) ckd_close(fd, __FILE__, __LINE__)
-
/*! Error codes for dpid */
-enum {
- no_errors,
- dpid_srs_addrinuse /* dpid service request socket address already in use */
-} dpi_errno;
+//fix for gcc 10
+extern enum dpi_errno;
/*! Intended for identifying dillo plugins
* and related files