diff options
Diffstat (limited to 'sim/arm/bag.h')
-rw-r--r-- | sim/arm/bag.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/sim/arm/bag.h b/sim/arm/bag.h index 8914e96..0738195 100644 --- a/sim/arm/bag.h +++ b/sim/arm/bag.h @@ -25,18 +25,19 @@ /* is deleted. */ /********************************************************************/ -typedef enum { +typedef enum +{ NO_ERROR, DELETED_OLD_PAIR, NO_SUCH_PAIR, -} Bag_error; +} +Bag_error; -void BAG_putpair(long first, long second); +void BAG_putpair (long first, long second); -void BAG_newbag(void); -Bag_error BAG_killpair_byfirst(long first); -Bag_error BAG_killpair_bysecond(long second); - -Bag_error BAG_getfirst(long *first, long second); -Bag_error BAG_getsecond(long first, long *second); +void BAG_newbag (void); +Bag_error BAG_killpair_byfirst (long first); +Bag_error BAG_killpair_bysecond (long second); +Bag_error BAG_getfirst (long *first, long second); +Bag_error BAG_getsecond (long first, long *second); |