Re: msi: Add an offset to sequence numbers belonging to files added by a patch. (try 2)
21 Mar
2011
21 Mar
'11
9:51 a.m.
On Mon, 2011-03-21 at 14:14 +0100, David Hedberg wrote:
+static void msi_patch_offset_list_init(struct msi_patch_offset_list **pos) +{ + *pos = msi_alloc(sizeof(struct msi_patch_offset_list)); + list_init( &(*pos)->files ); + (*pos)->count = (*pos)->max = 0; + (*pos)->min = 999999; +}
It would be nicer to have a _create function that returns an initialized structure.
5382
Age (days ago)
5382
Last active (days ago)
0 comments
1 participants
participants (1)
-
Hans Leidekker