comparison dbhelpers.h @ 1286:7d02b83c61fd coverity

merge
author Matt Johnston <matt@ucc.asn.au>
date Fri, 18 Mar 2016 22:47:33 +0800
parents 3017bc7d6238
children d68d61e7056a
comparison
equal deleted inserted replaced
1261:770e14154da3 1286:7d02b83c61fd
1 #ifndef DROPBEAR_DBHELPERS_H_
2 #define DROPBEAR_DBHELPERS_H_
3
4 /* This header defines some things that are also used by libtomcrypt/math.
5 We avoid including normal include.h since that can result in conflicting
6 definitinos - only include config.h */
7 #include "config.h"
8
9 #ifdef __GNUC__
10 #define ATTRIB_PRINTF(fmt,args) __attribute__((format(printf, fmt, args)))
11 #define ATTRIB_NORETURN __attribute__((noreturn))
12 #define ATTRIB_SENTINEL __attribute__((sentinel))
13 #else
14 #define ATTRIB_PRINTF(fmt,args)
15 #define ATTRIB_NORETURN
16 #define ATTRIB_SENTINEL
17 #endif
18
19 void m_burn(void* data, unsigned int len);
20
21 #endif /* DROPBEAR_DBHELPERS_H_ */