From: Ben Gras Date: Fri, 20 May 2005 13:27:38 +0000 (+0000) Subject: freed up use of name 'offset' X-Git-Tag: v3.1.0~823 X-Git-Url: http://zhaoyanbai.com/repos/tz-link.htm?a=commitdiff_plain;h=80e38daeadb359f2e89c804f2455b0f337ce0e45;p=minix.git freed up use of name 'offset' --- diff --git a/servers/fs/open.c b/servers/fs/open.c index c567b3f28..cb00b496b 100644 --- a/servers/fs/open.c +++ b/servers/fs/open.c @@ -24,6 +24,8 @@ #include "param.h" #include "super.h" +#define offset m2_l1 + PRIVATE char mode_map[] = {R_BIT, W_BIT, R_BIT|W_BIT, 0}; FORWARD _PROTOTYPE( int common_open, (int oflags, Mode_t omode) ); diff --git a/servers/fs/param.h b/servers/fs/param.h index dfd5402e8..9b2054446 100644 --- a/servers/fs/param.h +++ b/servers/fs/param.h @@ -25,7 +25,6 @@ #define name1_length m1_i1 #define name2_length m1_i2 #define nbytes m1_i2 -#define offset m2_l1 #define owner m1_i2 #define parent m1_i1 #define pathname m3_ca1