dropbear 2016.73
[tomato.git] / release / src / router / dropbear / dbhelpers.h
blobd47707e099b3d36633937e92287d277f1222c575
1 #ifndef DROPBEAR_DBHELPERS_H_
2 #define DROPBEAR_DBHELPERS_H_
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"
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
19 void m_burn(void* data, unsigned int len);
21 #endif /* DROPBEAR_DBHELPERS_H_ */