diff options
author | Ori Bernstein <ori@eigenstate.org> | 2020-05-15 16:56:59 -0700 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2020-05-15 16:56:59 -0700 |
commit | bd4b6bda9b93c2c29eb0cb52b2a1c09fd02028a9 (patch) | |
tree | e0d2afa0582b15631449cc942178c6a3984f39e5 /sys/src/libstdio | |
parent | 78aec6d5c67cab79e03cdbe4f1a1bd7a7aa15612 (diff) |
#pragma ref no longer exists
It appears to be an antiquated form of 'USED(x)'
Diffstat (limited to 'sys/src/libstdio')
-rw-r--r-- | sys/src/libstdio/vfscanf.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/src/libstdio/vfscanf.c b/sys/src/libstdio/vfscanf.c index be5c71284..e21eca97b 100644 --- a/sys/src/libstdio/vfscanf.c +++ b/sys/src/libstdio/vfscanf.c @@ -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; |