1
0
mirror of https://github.com/pevans/erc-c.git synced 2025-08-15 18:27:37 +00:00

Use double-slash comments

This commit is contained in:
Peter Evans
2017-12-12 14:35:13 -06:00
parent 6f4627802f
commit da62ac4ca6

View File

@@ -54,13 +54,11 @@ vm_segment_create(size_t size)
return NULL; return NULL;
} }
/* // Let's NULL-out the read and write tables. If we don't do so, they
* Let's NULL-out the read and write tables. If we don't do so, they // may have some bits of garbage in it, and could cause the
* may have some bits of garbage in it, and could cause the // read/write mapper code to attempt to a run a function with
* read/write mapper code to attempt to a run a function with // garbage. We could have undefined garbage! We can only properly
* garbage. We could have undefined garbage! We can only properly // work with defined garbage.
* work with defined garbage.
*/
memset(segment->read_table, (int)NULL, sizeof(vm_segment_read_fn)); memset(segment->read_table, (int)NULL, sizeof(vm_segment_read_fn));
memset(segment->write_table, (int)NULL, sizeof(vm_segment_write_fn)); memset(segment->write_table, (int)NULL, sizeof(vm_segment_write_fn));