View | Details | Raw Unified | Return to bug 95479
Collapse All | Expand All

(-)src/screen.c Fri Apr 7 09:01:51 2006 (-6 / +4 lines)
Lines 27-33 Link Here
27
#include "screen.h"
27
#include "screen.h"
28
#include "edit.h"
28
#include "edit.h"
29
#include <sys/param.h>
29
#include <sys/param.h>
30
#include <varargs.h>
30
#include <stdarg.h>
31
31
32
extern char clearbuf[];
32
extern char clearbuf[];
33
extern char cleolbuf[];
33
extern char cleolbuf[];
Lines 538-552 Link Here
538
int     dec[] = {1000000000, 100000000, 10000000, 1000000, 100000, 10000, 1000, 100, 10, 1};
538
int     dec[] = {1000000000, 100000000, 10000000, 1000000, 100000, 10000, 1000, 100, 10, 1};
539
539
540
void
540
void
541
prints(va_alist)
541
prints(char *fmt, ...)
542
va_dcl
543
{
542
{
544
   va_list ap;
543
   va_list ap;
545
   register char *fmt;
544
   register char;
546
   char   *bp;
545
   char   *bp;
547
   register int i, count, hd, indx;
546
   register int i, count, hd, indx;
548
   va_start(ap);
547
   va_start(ap, fmt);
549
   fmt = va_arg(ap, char *);
550
   while (*fmt != '\0') {
548
   while (*fmt != '\0') {
551
      if (*fmt == '%') {
549
      if (*fmt == '%') {
552
         int     sgn = 1;
550
         int     sgn = 1;

Return to bug 95479