X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=md5%2Fmd5.h;h=73546a73b5c28705619405fa140146755e50a193;hp=ffee3e8a46557ba617878025568b2744d7ef4264;hb=ffbba2e6b9b18141e350fac00a23e88becd57b17;hpb=2e2ac6ad2fc90eaf46ae5fee0bc4f61dd97b4284 diff --git a/md5/md5.h b/md5/md5.h index ffee3e8a..73546a73 100644 --- a/md5/md5.h +++ b/md5/md5.h @@ -1,7 +1,7 @@ /* Declaration of functions and data types used for MD5 sum computing library functions. - Copyright (C) 1995-1997,1999,2000,2001,2004,2005,2006,2008 - Free Software Foundation, Inc. + Copyright (C) 1995, 1996, 1997, 1999, 2000, 2001, 2004, 2005, 2006, + 2008, 2009, 2010 Free Software Foundation, Inc. This file is part of the GNU C Library. This program is free software; you can redistribute it and/or modify it @@ -54,6 +54,10 @@ # define __md5_stream md5_stream #endif +# ifdef __cplusplus +extern "C" { +# endif + /* Structure to save state of computation between the single steps. */ struct md5_ctx { @@ -115,4 +119,8 @@ extern int __md5_stream (FILE *stream, void *resblock) __THROW; extern void *__md5_buffer (const char *buffer, size_t len, void *resblock) __THROW; +# ifdef __cplusplus +} +# endif + #endif /* md5.h */