diff options
author | Guido van Rossum <guido@python.org> | 1996-05-24 20:51:38 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-05-24 20:51:38 (GMT) |
commit | 53d0de4b0554d1273d062975bf1872eb20ce0b97 (patch) | |
tree | 0756b75314fce0d807d48efad258b8b0df718197 /Modules/md5.h | |
parent | 3d86cc0dbc18958a59ce064b60912405f5f8d7ac (diff) | |
download | cpython-53d0de4b0554d1273d062975bf1872eb20ce0b97.zip cpython-53d0de4b0554d1273d062975bf1872eb20ce0b97.tar.gz cpython-53d0de4b0554d1273d062975bf1872eb20ce0b97.tar.bz2 |
rename exported symbols with _Py_ prefix
Diffstat (limited to 'Modules/md5.h')
-rw-r--r-- | Modules/md5.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Modules/md5.h b/Modules/md5.h index c273000..6a14df6 100644 --- a/Modules/md5.h +++ b/Modules/md5.h @@ -81,6 +81,13 @@ typedef struct { unsigned char buffer[64]; /* input buffer */ } MD5_CTX; +/* Rename all exported symbols to avoid conflicts with similarly named + symbols in some systems' standard C libraries... */ + +#define MD5Init _Py_MD5Init +#define MD5Update _Py_MD5Update +#define MD5Final _Py_MD5Final + void MD5Init PROTO_LIST ((MD5_CTX *)); void MD5Update PROTO_LIST ((MD5_CTX *, unsigned char *, unsigned int)); |