summaryrefslogtreecommitdiff
path: root/gdb/p-lang.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-03-30 11:29:17 -0600
committerTom Tromey <tom@tromey.com>2019-03-30 11:36:53 -0600
commit268f4c4cd7b229f7f23ebbf6006973ebe0a05888 (patch)
treec97516c90aa5bf6ccb54c494c275339d42dc03aa /gdb/p-lang.c
parentae2b14c73cd42b067e9687219155ed044210f0c1 (diff)
downloadbinutils-gdb-users/tromey/sort-includes.tar.gz
Diffstat (limited to 'gdb/p-lang.c')
-rw-r--r--gdb/p-lang.c18
1 files changed, 11 insertions, 7 deletions
diff --git a/gdb/p-lang.c b/gdb/p-lang.c
index b61273f356b..f6fb8b1d897 100644
--- a/gdb/p-lang.c
+++ b/gdb/p-lang.c
@@ -20,17 +20,21 @@
/* This file is derived from c-lang.c */
#include "defs.h"
-#include "symtab.h"
-#include "gdbtypes.h"
+#include "p-lang.h"
+
+/* Standard C includes. */
+#include <ctype.h>
+
+/* Local includes. */
+#include "c-lang.h"
#include "expression.h"
-#include "parser-defs.h"
+#include "gdbtypes.h"
#include "language.h"
-#include "varobj.h"
-#include "p-lang.h"
+#include "parser-defs.h"
+#include "symtab.h"
#include "valprint.h"
#include "value.h"
-#include <ctype.h>
-#include "c-lang.h"
+#include "varobj.h"
/* All GPC versions until now (2007-09-27) also define a symbol called
'_p_initialize'. Check for the presence of this symbol first. */