unit: Drop ulist member chrp
Commit cd8d742
mechanically combined struct mlist's mcp and struct
llist's llp into struct ulist's chrp, adding type casts to every use.
Not necessary, simply use mchr[] and lchr[] directly.
Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
eb903207a4
commit
1702349e3d
6 changed files with 33 additions and 38 deletions
|
@ -28,7 +28,7 @@
|
|||
*
|
||||
* Known contributors to this file:
|
||||
* Ron Koenderink, 2006
|
||||
* Markus Armbruster, 2006-2011
|
||||
* Markus Armbruster, 2006-2014
|
||||
*/
|
||||
|
||||
#ifndef EMPOBJ_H
|
||||
|
@ -90,8 +90,6 @@ union empobj_storage {
|
|||
struct trdstr trade;
|
||||
};
|
||||
|
||||
struct empobj_chr;
|
||||
|
||||
#define get_empobj(type, n, p) ef_read((type), (n), (p))
|
||||
#define put_empobj(type, n, p) ef_write((type), (n), (p))
|
||||
#define get_empobjp(type, n) ((struct empobj *)ef_ptr((type), (n)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue