diff --git a/modules/src/print/doprnt.c b/modules/src/print/doprnt.c index cbc333298..6fb10a6ac 100644 --- a/modules/src/print/doprnt.c +++ b/modules/src/print/doprnt.c @@ -8,7 +8,6 @@ #include #include "param.h" -/*VARARGS2*/ /*FORMAT1 $ %s = char * %l = long @@ -16,6 +15,7 @@ %[uxbo] = unsigned int %d = int $ */ +/*VARARGS2*/ doprnt(fp, fmt, argp) File *fp; char *fmt; diff --git a/modules/src/print/format.c b/modules/src/print/format.c index c9b8c78cf..1a2c7fd66 100644 --- a/modules/src/print/format.c +++ b/modules/src/print/format.c @@ -26,7 +26,6 @@ integral(c) return 0; } -/*VARARGS2*/ /*FORMAT1 $ %s = char * %l = long @@ -34,6 +33,7 @@ integral(c) %[uxbo] = unsigned int %d = int $ */ +/*VARARGS2*/ int _format(buf, fmt, argp) char *buf, *fmt; diff --git a/modules/src/print/fprint.c b/modules/src/print/fprint.c index e2c2a4ca1..aa2be85d8 100644 --- a/modules/src/print/fprint.c +++ b/modules/src/print/fprint.c @@ -8,7 +8,6 @@ #include #include "param.h" -/*VARARGS*/ /*FORMAT1v $ %s = char * %l = long @@ -16,6 +15,7 @@ %[uxbo] = unsigned int %d = int $ */ +/*VARARGS*/ fprint(va_alist) va_dcl { diff --git a/modules/src/print/print.c b/modules/src/print/print.c index 4e9ffd64d..135b131ce 100644 --- a/modules/src/print/print.c +++ b/modules/src/print/print.c @@ -8,7 +8,6 @@ #include #include "param.h" -/*VARARGS*/ /*FORMAT0v $ %s = char * %l = long @@ -16,6 +15,7 @@ %[uxbo] = unsigned int %d = int $ */ +/*VARARGS*/ print(va_alist) va_dcl { diff --git a/modules/src/print/sprint.c b/modules/src/print/sprint.c index 7cb10787f..9d87703c6 100644 --- a/modules/src/print/sprint.c +++ b/modules/src/print/sprint.c @@ -8,7 +8,6 @@ #include #include "param.h" -/*VARARGS*/ /*FORMAT1v $ %s = char * %l = long @@ -16,6 +15,7 @@ %[uxbo] = unsigned int %d = int $ */ +/*VARARGS*/ char * sprint(va_alist) va_dcl