From: scottmk Date: Thu, 8 Jan 2009 16:18:01 +0000 (+0000) Subject: Rename macro for compilation guard; prepare for #inclusion in C++ X-Git-Tag: osrf_rel_2_0_1~458 X-Git-Url: https://git.evergreen-ils.org/?p=OpenSRF.git;a=commitdiff_plain;h=22fb62671e4fb244927de496e87aeb5ea024afa5 Rename macro for compilation guard; prepare for #inclusion in C++ git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1586 9efc2488-bf62-4759-914b-345cdb29e865 --- diff --git a/include/opensrf/md5.h b/include/opensrf/md5.h index 53dd2b1..9ab2922 100644 --- a/include/opensrf/md5.h +++ b/include/opensrf/md5.h @@ -12,8 +12,12 @@ /* Put this in md5.h if you don't like having everything in one big * file. */ -#ifndef _DMADORE_MD5_H -#define _DMADORE_MD5_H +#ifndef DMADORE_MD5_H +#define DMADORE_MD5_H + +#ifdef __cplusplus +extern "C" { +#endif struct md5_ctx { /* The four chaining variables */ @@ -31,5 +35,9 @@ void MD5_start (struct md5_ctx *context); void MD5_feed (struct md5_ctx *context, unsigned char inb); void MD5_stop (struct md5_ctx *context, unsigned char digest[16]); -#endif /* not defined _DMADORE_MD5_H */ +#ifdef __cplusplus +} +#endif + +#endif /* not defined DMADORE_MD5_H */