Previous 15994 Revisions Next

r3055 Sunday 17th August, 2008 at 13:49:03 UTC by Firewave
Removed unnecessary memset()
[src/mess/machine]tc8521.c

src/mess/machine/tc8521.c
r3054r3055
296296void tc8521_init(const struct tc8521_interface *intf)
297297{
298298   memset(&rtc, 0, sizeof(struct tc8521));
299   memset(&rtc.interface, 0, sizeof(struct tc8521_interface));
300299   if (intf)
301300      memcpy(&rtc.interface, intf, sizeof(struct tc8521_interface));
302301   timer_pulse(ATTOTIME_IN_HZ(32), NULL, 0, tc8521_timer_callback);

Previous 15994 Revisions Next


© 1998-2018 The MESS Team