aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/pidl
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-09-26 18:25:48 -0700
committerGuy Harris <guy@alum.mit.edu>2014-09-27 01:26:38 +0000
commit8d0b793297f39badaf6ce26bcadebd908588be0b (patch)
treebe69b150d50e5019d8098c5b711f87ed6ba03cd4 /epan/dissectors/pidl
parent1749e5eaced4927566ab791d5070cfb77dede635 (diff)
"declare" apparently isn't a valid keyword; use typedef instead.
These changes came from the versions of those files at the tip of the Samba trunk, and fix the failures to compile with pidl. Change-Id: Ifc3276d4bc2ff1cfdb19819811f5b8d1b91961b5 Reviewed-on: https://code.wireshark.org/review/4329 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/pidl')
-rw-r--r--epan/dissectors/pidl/srvsvc.idl4
-rw-r--r--epan/dissectors/pidl/wkssvc.idl2
2 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/pidl/srvsvc.idl b/epan/dissectors/pidl/srvsvc.idl
index 4609371c4b..a474f1f781 100644
--- a/epan/dissectors/pidl/srvsvc.idl
+++ b/epan/dissectors/pidl/srvsvc.idl
@@ -14,8 +14,8 @@
helpstring("Server Service")
] interface srvsvc
{
- declare bitmap svcctl_ServerType;
- declare bitmap security_secinfo;
+ typedef bitmap svcctl_ServerType svcctl_ServerType;
+ typedef bitmap security_secinfo security_secinfo;
/**************************/
/* srvsvc_NetCharDev */
diff --git a/epan/dissectors/pidl/wkssvc.idl b/epan/dissectors/pidl/wkssvc.idl
index 05e4c4ba0e..0b08f62f6d 100644
--- a/epan/dissectors/pidl/wkssvc.idl
+++ b/epan/dissectors/pidl/wkssvc.idl
@@ -14,7 +14,7 @@ import "srvsvc.idl", "lsa.idl";
endpoint("ncacn_np:[\\pipe\\wkssvc]","ncacn_ip_tcp:","ncalrpc:")
] interface wkssvc
{
- declare [v1_enum] enum srvsvc_PlatformId;
+ typedef [v1_enum] enum srvsvc_PlatformId srvsvc_PlatformId;
#define BOOL uint32