diff options
author | Tom Tromey <tom@tromey.com> | 2017-11-22 09:37:05 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2017-11-26 12:02:40 -0700 |
commit | 6a997029fb0fca1a9e2832db80a3afb9bccaaf59 (patch) | |
tree | 9c61e6aca738263ea46d8cc2e49ef5a9bcd0dcb2 /gdb/common | |
parent | 2b63c337d99fe12220e6ca12a71dac6cdd3224d3 (diff) | |
download | gdb-6a997029fb0fca1a9e2832db80a3afb9bccaaf59.zip gdb-6a997029fb0fca1a9e2832db80a3afb9bccaaf59.tar.gz gdb-6a997029fb0fca1a9e2832db80a3afb9bccaaf59.tar.bz2 |
Add include guards to common/format.h
This adds include guards to common/format.h.
ChangeLog
2017-11-26 Tom Tromey <tom@tromey.com>
* common/format.h: Add include guards.
Diffstat (limited to 'gdb/common')
-rw-r--r-- | gdb/common/format.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/common/format.h b/gdb/common/format.h index 33afc3a..f3a94b8 100644 --- a/gdb/common/format.h +++ b/gdb/common/format.h @@ -17,6 +17,9 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#ifndef COMMON_FORMAT_H +#define COMMON_FORMAT_H + #if defined(__MINGW32__) && !defined(PRINTF_HAS_LONG_LONG) # define USE_PRINTF_I64 1 # define PRINTF_HAS_LONG_LONG @@ -62,3 +65,5 @@ extern void free_format_pieces (struct format_piece *frags); /* Freeing, cast as a cleanup. */ extern void free_format_pieces_cleanup (void *); + +#endif /* COMMON_FORMAT_H */ |