source: rtems/cpukit/libcsupport/src/printk.c @ da154e14

4.115
Last change on this file since da154e14 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

  • Property mode set to 100644
File size: 787 bytes
Line 
1/*
2 * (C) Copyright 1997 -
3 * - NavIST Group - Real-Time Distributed Systems and Industrial Automation
4 *
5 * http://pandora.ist.utl.pt
6 *
7 * Instituto Superior Tecnico * Lisboa * PORTUGAL
8 *
9 * Disclaimer:
10 *
11 * This file is provided "AS IS" without warranty of any kind, either
12 * expressed or implied.
13 *
14 * This code is based on code by: Jose Rufino - IST
15 */
16
17#if HAVE_CONFIG_H
18#include "config.h"
19#endif
20
21#include <stdarg.h>
22#include <stdio.h>
23#include <rtems/bspIo.h>
24
25/*
26 * printk
27 *
28 * Kernel printf function requiring minimal infrastructure.
29 */
30void printk(const char *fmt, ...)
31{
32  va_list  ap;       /* points to each unnamed argument in turn */
33
34  va_start(ap, fmt); /* make ap point to 1st unnamed arg */
35  vprintk(fmt, ap);
36  va_end(ap);        /* clean up when done */
37}
Note: See TracBrowser for help on using the repository browser.