* include/grub/crypto.h: Don't declare gcry_log_bug, gcry_log_printf

and gcry_log_bug.
	* grub-core/lib/libgcrypt_wrap/mem.c: Include g10lib.h
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-08-22 16:03:47 +02:00
parent fc97214f7e
commit 8ed358e0ee
3 changed files with 7 additions and 5 deletions

View file

@ -1,3 +1,9 @@
2013-08-22 Vladimir Serbinenko <phcoder@gmail.com>
* include/grub/crypto.h: Don't declare gcry_log_bug, gcry_log_printf
and gcry_log_bug.
* grub-core/lib/libgcrypt_wrap/mem.c: Include g10lib.h
2013-08-21 Vladimir Serbinenko <phcoder@gmail.com>
* INSTALL: Document cross-compilation.

View file

@ -1,4 +1,4 @@
#include <grub/gcrypt/gcrypt.h>
#include <grub/gcrypt/g10lib.h>
#include <grub/gcrypt/gpg-error.h>
#include <grub/term.h>
#include <grub/crypto.h>

View file

@ -401,10 +401,6 @@ void _gcry_assert_failed (const char *expr, const char *file, int line,
void _gcry_burn_stack (int bytes);
void _gcry_log_error( const char *fmt, ... ) __attribute__ ((format (printf, 1, 2)));
void _gcry_log_bug( const char *fmt, ... ) __attribute__ ((format (printf, 1, 2)));
void _gcry_log_printf( const char *fmt, ... ) __attribute__ ((format (printf, 1, 2)));
void
_gcry_check_heap (const void *a __attribute__ ((unused)));
#ifdef GRUB_UTIL