aboutsummaryrefslogtreecommitdiff
path: root/gdb/common/common-defs.h
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2015-02-09 14:59:06 +0000
committerPedro Alves <palves@redhat.com>2015-02-27 17:25:45 +0000
commitbcabf4207e7ba20f09e15141c6c3241862ac4aee (patch)
treeea68f77b498cc69730ff6867de4977f6898d7947 /gdb/common/common-defs.h
parent928dbe07562fa842a990d1c3aa65e12343426e68 (diff)
downloadgdb-bcabf4207e7ba20f09e15141c6c3241862ac4aee.zip
gdb-bcabf4207e7ba20f09e15141c6c3241862ac4aee.tar.gz
gdb-bcabf4207e7ba20f09e15141c6c3241862ac4aee.tar.bz2
Make array object extern
Compiling python.c in C++ mode, we get: ...src/gdb/python/python.c: At global scope: ...src/gdb/python/python.c:106:31: error: storage size of ‘GdbMethods’ isn’t known static PyMethodDef GdbMethods[]; ^ Fix it by making the affected array objects extern. gdb/ChangeLog: 2015-02-27 Pedro Alves <palves@redhat.com> * python/python.c (GdbMethods): Rename to ... (python_GdbMethods): ... this and make extern. (GdbModuleDef): Rename to ... (python_GdbModuleDef): ... this and make extern.
Diffstat (limited to 'gdb/common/common-defs.h')
0 files changed, 0 insertions, 0 deletions