Skip to content
Snippets Groups Projects
Commit c8a67010 authored by Tom Tromey's avatar Tom Tromey
Browse files

Clean up gmp-utils.h includes

gmp-utils.h includes "defs.h", but normally the rule in gdb is that
the .c files include this first.  This patch changes this code to
match the rest of gdb.

parent 85c72d70
No related branches found
No related tags found
No related merge requests found
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "gmp-utils.h" #include "gmp-utils.h"
/* See gmp-utils.h. */ /* See gmp-utils.h. */
......
...@@ -20,8 +20,6 @@ ...@@ -20,8 +20,6 @@
#ifndef GMP_UTILS_H #ifndef GMP_UTILS_H
#define GMP_UTILS_H #define GMP_UTILS_H
#include "defs.h"
/* Include <stdio.h> and <stdarg.h> ahead of <gmp.h>, so as to get /* Include <stdio.h> and <stdarg.h> ahead of <gmp.h>, so as to get
access to GMP's various formatting functions. */ access to GMP's various formatting functions. */
#include <stdio.h> #include <stdio.h>
......
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
#include "gmp-utils.h" #include "gmp-utils.h"
#include "gdbsupport/selftest.h" #include "gdbsupport/selftest.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment