comparison dbhelpers.h @ 1515:d68d61e7056a

include config.h for options.h. don't need to include options.h when includes.h brings it in
author Matt Johnston <matt@ucc.asn.au>
date Sun, 18 Feb 2018 11:22:13 +0800
parents 3017bc7d6238
children
comparison
equal deleted inserted replaced
1514:6c16a05023aa 1515:d68d61e7056a
1 #ifndef DROPBEAR_DBHELPERS_H_ 1 #ifndef DROPBEAR_DBHELPERS_H_
2 #define DROPBEAR_DBHELPERS_H_ 2 #define DROPBEAR_DBHELPERS_H_
3 3
4 /* This header defines some things that are also used by libtomcrypt/math. 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 5 We avoid including normal include.h since that can result in conflicting
6 definitinos - only include config.h */ 6 definitions - only include config.h */
7 #include "config.h" 7 #include "config.h"
8 8
9 #ifdef __GNUC__ 9 #ifdef __GNUC__
10 #define ATTRIB_PRINTF(fmt,args) __attribute__((format(printf, fmt, args))) 10 #define ATTRIB_PRINTF(fmt,args) __attribute__((format(printf, fmt, args)))
11 #define ATTRIB_NORETURN __attribute__((noreturn)) 11 #define ATTRIB_NORETURN __attribute__((noreturn))