Add include guards to common/format.h
[deliverable/binutils-gdb.git] / gdb / common / format.h
index cb56a2c551fb778e10977f28750228d77a564136..f3a94b8bbb6c06b2000fe622b90936c881b2578a 100644 (file)
@@ -1,6 +1,6 @@
 /* Parse a printf-style format string.
 
-   Copyright (C) 1986-2016 Free Software Foundation, Inc.
+   Copyright (C) 1986-2017 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -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
@@ -35,7 +38,8 @@ enum argclass
     literal_piece,
     int_arg, long_arg, long_long_arg, ptr_arg,
     string_arg, wide_string_arg, wide_char_arg,
-    double_arg, long_double_arg, decfloat_arg
+    double_arg, long_double_arg,
+    dec32float_arg, dec64float_arg, dec128float_arg
   };
 
 /* A format piece is a section of the format string that may include a
@@ -61,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 */
This page took 0.024277 seconds and 4 git commands to generate.