beginwarn.c 294 B

123456789
  1. static const char _evoke_link_warning_foo []
  2. __attribute__ ((used, section (".gnu.warning.foo")))
  3. = "function foo is deprecated";
  4. extern void foo (void);
  5. static void (*const init_array []) (void)
  6. __attribute__ ((used, section (".init_array"), aligned (sizeof (void *))))
  7. = { foo };