Changeset bfc0072 in buchla-68k


Ignore:
Timestamp:
07/08/2017 01:00:47 PM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
dfe4288
Parents:
72d4545
Message:

varargs.h -> stdarg.h.

Files:
1 added
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • iolib/dofmt.c

    r72d4545 rbfc0072  
    2424#include "stddefs.h"
    2525#include "ctype.h"
    26 #include "varargs.h"
     26#include "stdarg.h"
    2727
    2828#define MAXDIGS 11
  • iolib/printf.c

    r72d4545 rbfc0072  
    1515#include "stddefs.h"
    1616#include "biosdefs.h"
    17 #include "varargs.h"
     17#include "stdarg.h"
    1818
    1919extern  long    dofmt_();
     
    2727*/
    2828
    29 long
    30 printf(fmt, va_alist)
    31 char *fmt;
    32 va_dcl
     29long printf(char *fmt, ...)
    3330{
    3431        register long count;
    3532        va_list aptr;
    3633
    37         va_start(aptr);
     34        va_start(aptr, fmt);
    3835        count = dofmt_(fpsub, fmt, aptr);
    3936        va_end(aptr);
  • iolib/sprintf.c

    r72d4545 rbfc0072  
    66*/
    77
    8 #include "varargs.h"
     8#include "stdarg.h"
    99
    1010extern long     dofmt_();
     
    1919*/
    2020
    21 long
    22 sprintf(str, fmt, va_alist)
    23 char *str, *fmt;
    24 va_dcl
     21long sprintf(char *str, char *fmt, ...)
    2522{
    2623        register long count;
    2724        va_list aptr;
    2825
    29         va_start(aptr);
    3026        buff = str;
     27        va_start(aptr, fmt);
    3128        count = dofmt_(spsub, fmt, aptr);
     29        va_end(aptr);
    3230        *buff = '\0';
    3331        return(count);
  • libcio/fprintf.c

    r72d4545 rbfc0072  
    88#include "stdio.h"
    99#include "stddefs.h"
    10 #include "varargs.h"
     10#include "stdarg.h"
    1111
    1212static FILE *Stream;
     
    1717static  int     fpsub();
    1818
    19 int
    20 fprintf(stream, fmt, va_alist)
    21 FILE *stream;
    22 char *fmt;
    23 va_dcl
     19int fprintf(FILE *stream, char *fmt, ...)
    2420{
    2521        register int count;
     
    2723
    2824        Stream = stream;
    29         va_start(aptr);
     25        va_start(aptr, fmt);
    3026        count = _dofmt(fpsub, fmt, aptr);
    3127        va_end(aptr);
Note: See TracChangeset for help on using the changeset viewer.