diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-01-04 11:22:32 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-01-04 11:22:32 +0000 |
commit | 53b92365f89fda731ac24ecde07fbe29f251795e (patch) | |
tree | 7b2092a6822d26f6e375af1206547c30ce950c17 /gcc/cexp.y | |
parent | 968ae6d5d471353937d91eeec51ab063fa5ab81b (diff) | |
download | gcc-53b92365f89fda731ac24ecde07fbe29f251795e.tar.gz |
(PRINTF_PROTO): Use __printf__ in __attribute__, not printf.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13362 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cexp.y')
-rw-r--r-- | gcc/cexp.y | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cexp.y b/gcc/cexp.y index e5a39aea809..93d3c3b6a0b 100644 --- a/gcc/cexp.y +++ b/gcc/cexp.y @@ -1,5 +1,5 @@ /* Parse C expressions for CCCP. - Copyright (C) 1987, 1992, 1994, 1995, 1996 Free Software Foundation. + Copyright (C) 1987, 1992, 1994, 1995, 1996, 1997 Free Software Foundation. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the @@ -118,13 +118,13 @@ struct arglist { # define VA_START(va_list, var) va_start (va_list, var) # define PRINTF_ALIST(msg) char *msg, ... # define PRINTF_DCL(msg) -# define PRINTF_PROTO(ARGS, m, n) PROTO (ARGS) __attribute__ ((format (printf, m, n))) +# define PRINTF_PROTO(ARGS, m, n) PROTO (ARGS) __attribute__ ((format (__printf__, m, n))) #else # include <varargs.h> # define VA_START(va_list, var) va_start (va_list) # define PRINTF_ALIST(msg) msg, va_alist # define PRINTF_DCL(msg) char *msg; va_dcl -# define PRINTF_PROTO(ARGS, m, n) () __attribute__ ((format (printf, m, n))) +# define PRINTF_PROTO(ARGS, m, n) () __attribute__ ((format (__printf__, m, n))) # define vfprintf(file, msg, args) \ { \ char *a0 = va_arg(args, char *); \ |