Home | History | Annotate | Download | only in lib
      1 /*
      2  * dprintf.c
      3  */
      4 
      5 #include <stdio.h>
      6 #include <stdarg.h>
      7 
      8 #ifdef DEBUG_PORT
      9 
     10 void vdprintf(const char *, va_list);
     11 
     12 void dprintf(const char *format, ...)
     13 {
     14     va_list ap;
     15 
     16     va_start(ap, format);
     17     vdprintf(format, ap);
     18     va_end(ap);
     19 }
     20 
     21 #endif /* DEBUG_PORT */
     22