diff options
author | Yao Qi <yao.qi@linaro.org> | 2017-01-06 14:26:45 +0000 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2017-01-06 14:26:45 +0000 |
commit | 8018d34f1e5d94ffe1f12ac2455429c6f713c518 (patch) | |
tree | c4a00fa18f7c2330534b6a7ddecd210f44f0707e /gdb/dfp.h | |
parent | c0b8369c8aa4e05bf8f1b2ce4a79133cf1192a16 (diff) | |
download | gdb-8018d34f1e5d94ffe1f12ac2455429c6f713c518.zip gdb-8018d34f1e5d94ffe1f12ac2455429c6f713c518.tar.gz gdb-8018d34f1e5d94ffe1f12ac2455429c6f713c518.tar.bz2 |
Include doublest.h and expression.h in dfp.h
$ make check-headers CHECK_HEADERS="dfp.h"
...
../../binutils-gdb/gdb/dfp.h:39:8: error: 'DOUBLEST' does not name a type
extern DOUBLEST decimal_to_doublest (const gdb_byte *from, int len,
^
../../binutils-gdb/gdb/dfp.h:41:33: error: use of enum 'exp_opcode' without previous declaration
extern void decimal_binop (enum exp_opcode,
^
gdb:
2017-01-06 Yao Qi <yao.qi@linaro.org>
* dfp.h: Include "dboulest.h" and "expression.h".
Diffstat (limited to 'gdb/dfp.h')
-rw-r--r-- | gdb/dfp.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -25,6 +25,9 @@ #ifndef DFP_H #define DFP_H +#include "doublest.h" /* For DOUBLEST. */ +#include "expression.h" /* For enum exp_opcode. */ + /* When using decimal128, this is the maximum string length + 1 * (value comes from libdecnumber's DECIMAL128_String constant). */ #define MAX_DECIMAL_STRING 43 |