Mercurial > hg > CbC > CbC_xv6
changeset 335:98a9b99df4dc
merged
author | anatofuz |
---|---|
date | Sat, 15 Feb 2020 20:23:55 +0900 |
parents | 65c061fed881 (current diff) 8cdd4088bb1d (diff) |
children | 0e1c64818c0d |
files | |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gearsTools/update_implheader.pl Sat Feb 15 20:23:17 2020 +0900 +++ b/src/gearsTools/update_implheader.pl Sat Feb 15 20:23:55 2020 +0900 @@ -96,7 +96,7 @@ } close $fh; open $fh, '>', $header_file; - print $fh "typedef struct $impl <Impl, Isa> impl $interface {\n"; + print $fh "typedef struct $impl <Type, Isa> impl $interface {\n"; map { print $fh " $_\n"} @$write_codes; print $fh " __code next(...);\n"; print $fh "} $impl;\n";
--- a/src/impl/fs_impl.h Sat Feb 15 20:23:17 2020 +0900 +++ b/src/impl/fs_impl.h Sat Feb 15 20:23:55 2020 +0900 @@ -1,4 +1,4 @@ -typedef struct fs_impl <Impl, Isa> impl fs { +typedef struct fs_impl <Type, Isa> impl fs { __code allocinode(Type* fs_impl, uint dev, struct superblock* sb, __code next(...)); __code allocinode_loop(Type* fs_impl, uint inum, uint dev, short type, struct superblock* sb, struct buf* bp, struct dinode* dip, __code next(...)); __code allocinode_loopcheck(Type* fs_impl, uint inum, uint dev, struct superblock* sb, struct buf* bp, struct dinode* dip, __code next(...));