#pragma ref no longer exists

It appears to be an antiquated form of 'USED(x)'
front
Ori Bernstein 2020-05-15 16:56:59 -07:00
parent 78aec6d5c6
commit bd4b6bda9b
1 changed files with 0 additions and 5 deletions

View File

@ -102,8 +102,6 @@ int vfscanf(FILE *f, const char *s, va_list args){
return ncvt;
}
static int icvt_n(FILE *f, va_list *args, int store, int width, int type){
#pragma ref f
#pragma ref width
if(store){
--ncvt; /* this assignment doesn't count! */
switch(type){
@ -275,7 +273,6 @@ Done:
return 1;
}
static int icvt_s(FILE *f, va_list *args, int store, int width, int type){
#pragma ref type
int c, nn;
register char *s;
if(store) s=va_arg(*args, char *);
@ -303,7 +300,6 @@ Done:
return 1;
}
static int icvt_c(FILE *f, va_list *args, int store, int width, int type){
#pragma ref type
int c;
register char *s;
if(store) s=va_arg(*args, char *);
@ -335,7 +331,6 @@ static int match(int c, const char *pat){
return !ok;
}
static int icvt_sq(FILE *f, va_list *args, int store, int width, int type){
#pragma ref type
int c, nn;
register char *s;
register const char *pat;