diff options
author | Guy Harris <guy@alum.mit.edu> | 2007-01-18 18:43:30 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2007-01-18 18:43:30 +0000 |
commit | 0fb0fa8794861d6bb6beaa286252a5f834003182 (patch) | |
tree | 31dcc82b880094f7adc83befdcb58da4645cb757 /epan/atalk-utils.h | |
parent | cba9c4efa80764010810c602965ba768fb7d3206 (diff) |
Put
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
...
#ifdef __cplusplus
}
#endif /* __cplusplus */
wrappers into some header files, for the benefit of C++ plugins. Also,
add multiple-include protections.
svn path=/trunk/; revision=20485
Diffstat (limited to 'epan/atalk-utils.h')
-rw-r--r-- | epan/atalk-utils.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/epan/atalk-utils.h b/epan/atalk-utils.h index 5eed8a2362..3343561bdd 100644 --- a/epan/atalk-utils.h +++ b/epan/atalk-utils.h @@ -23,6 +23,11 @@ #include <glib.h> #include <stdio.h> + +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + /* * Structure used to represent a DDP address; gives the layout of the * data pointed to by an AT_ATALK "address" structure. @@ -51,4 +56,8 @@ extern gchar *atalk_addr_to_str(const struct atalk_ddp_addr *addrp); extern void atalk_addr_to_str_buf(const struct atalk_ddp_addr *addrp, gchar *buf, int buf_len); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif |