]> git.notmuchmail.org Git - notmuch/blobdiff - lib/libsha1.h
lib: Perform the same transformation to _notmuch_database_find_directory_id
[notmuch] / lib / libsha1.h
index b4dca93bab9026af9f75e69fbcc11838b1c12a49..56f445a9ac421bf1446d2df09b8e41c3d2ddd545 100644 (file)
@@ -38,11 +38,13 @@ extern "C"
 {
 #endif
 #if 0
-} /* Appleasing Emacs */
+} /* Appeasing Emacs */
 #endif
 
 #include <stdint.h>
 
+#pragma GCC visibility push(hidden)
+
 /* Size of SHA1 digest */
 
 #define SHA1_DIGEST_SIZE 20
@@ -60,6 +62,8 @@ void sha1_hash(const unsigned char data[], unsigned long len, sha1_ctx ctx[1]);
 void sha1_end(unsigned char hval[], sha1_ctx ctx[1]);
 void sha1(unsigned char hval[], const unsigned char data[], unsigned long len);
 
+#pragma GCC visibility pop
+
 #if defined(__cplusplus)
 }
 #endif