summaryrefslogtreecommitdiff
path: root/ospfd/ospfd.h
diff options
context:
space:
mode:
authorPaul Jakma <paul.jakma@sun.com>2008-02-26 09:16:09 +0000
committerPaul Jakma <paul.jakma@sun.com>2008-02-26 09:16:09 +0000
commitdea04441fb51f74dc25f6ab4bd756b4159d961b6 (patch)
tree95a4578d95f20dd0dc168d07a90ea9cf71d6047f /ospfd/ospfd.h
parentd38e8d63fdfc0aefb78d0a51ffdf06d8b47993fd (diff)
[c++] remove/rename some names in headers that clash with C++ reserved words
2008-01-30 Peter Szilagyi <sp615@hszk.bme.hu> * lib/stream.h: Remove named 'new' parameter in prototype for c++ header compatibility. * ospfd/ospf_opaque.h: ditto * ospfd/ospfd.h: Renamed struct export to _export for c++ header compatibility. * ospf6d/ospf6_area.h: ditto
Diffstat (limited to 'ospfd/ospfd.h')
-rw-r--r--ospfd/ospfd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ospfd/ospfd.h b/ospfd/ospfd.h
index 7a0ffcef..b6187111 100644
--- a/ospfd/ospfd.h
+++ b/ospfd/ospfd.h
@@ -397,9 +397,9 @@ struct ospf_area
{
char *name;
struct access_list *list;
- } export;
-#define EXPORT_NAME(A) (A)->export.name
-#define EXPORT_LIST(A) (A)->export.list
+ } _export;
+#define EXPORT_NAME(A) (A)->_export.name
+#define EXPORT_LIST(A) (A)->_export.list
/* Area acceptance list. */
struct