source: rtems/cpukit/libcsupport/src/printk_plugin.c @ 2e8737a

4.104.115
Last change on this file since 2e8737a was 2e8737a, checked in by Ralf Corsepius <ralf.corsepius@…>, on 09/15/09 at 09:42:46

Add attribute((unused)) to function arguments.

  • Property mode set to 100644
File size: 608 bytes
Line 
1/*
2 *  COPYRIGHT (c) 1989-2007.
3 *  On-Line Applications Research Corporation (OAR).
4 *
5 *  The license and distribution terms for this file may be
6 *  found in the file LICENSE in this distribution or at
7 *  http://www.rtems.com/license/LICENSE.
8 *
9 * $Id$
10 */
11
12#if HAVE_CONFIG_H
13#include "config.h"
14#endif
15
16#include <stdarg.h>
17#include <rtems/bspIo.h>
18
19int printk_plugin(
20  void *ignored __attribute__((unused)),
21  const char *format,
22  ...
23)
24{
25  va_list arg_pointer;
26
27  va_start (arg_pointer, format);
28
29  vprintk( format, arg_pointer );
30
31  va_end(arg_pointer); /* clean up when done */
32 
33  return 0;
34}
35
Note: See TracBrowser for help on using the repository browser.