Optimization: prepend() -> append()
commit6c8f655708b549382ce4bff672fe99e9384d8d44
authorDan Carpenter <error27@gmail.com>
Sun, 25 Oct 2009 20:29:19 +0000 (25 22:29 +0200)
committerDan Carpenter <error27@gmail.com>
Sun, 25 Oct 2009 20:29:19 +0000 (25 22:29 +0200)
tree3f5efb358482637876a37782bcdeafc91fd000ad
parentfa75482ec2f548cb6d4c799497b49829fb81df5f
Optimization: prepend() -> append()

prepend() used to move all the elements in the array one by one to
create a blank space at the front.  append() uses strlen() and strcat().

It seems like there should be a way to do the strlen and strcat in
one step instead of two separate functions but I don't know what it is.
And no one on #offtopic2 responded to my question.  Screw you guys and
your whole American timezone.

Signed-off-by: Dan Carpenter <error27@gmail.com>
smatch_helper.c