diff options
author | ted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2011-11-18 21:40:27 +0000 |
---|---|---|
committer | ted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2011-11-18 21:40:27 +0000 |
commit | 84571a2b91463ec91be12699b3c28b3db456ab94 (patch) | |
tree | daa0c44846d8a218e42bc663ff2b1b58b6b0169c /src/common/md5.h | |
parent | Correct bug introduced by last commit: Interface on Breakpad is incorrect. (diff) | |
download | breakpad-84571a2b91463ec91be12699b3c28b3db456ab94.tar.xz |
Rename md5.c to md5.cc, put its contents inside the google_breakpad namespace.
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@887 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/common/md5.h')
-rw-r--r-- | src/common/md5.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/common/md5.h b/src/common/md5.h index dbf4893c..e96521ee 100644 --- a/src/common/md5.h +++ b/src/common/md5.h @@ -5,6 +5,8 @@ #include <stdint.h> +namespace google_breakpad { + typedef uint32_t u32; typedef uint8_t u8; @@ -14,18 +16,12 @@ struct MD5Context { u8 in[64]; }; -#ifdef __cplusplus -extern "C" { -#endif // __cplusplus - void MD5Init(struct MD5Context *ctx); void MD5Update(struct MD5Context *ctx, unsigned char const *buf, unsigned len); void MD5Final(unsigned char digest[16], struct MD5Context *ctx); -#ifdef __cplusplus -} -#endif +} // namespace google_breakpad #endif // COMMON_MD5_H__ |