]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
libcgrouptest: Change the dynamic creation of messages to static 2d array
authorDhaval Giani <dhaval@linux.vnet.ibm.com>
Tue, 30 Dec 2008 13:33:16 +0000 (13:33 +0000)
committerDhaval Giani <dhaval@linux.vnet.ibm.com>
Tue, 30 Dec 2008 13:33:16 +0000 (13:33 +0000)
commit44e2ee38cc6f2c3ddd70da2c3df7eed032cd7d2a
tree5e7892a7eeab44b810bc79cda8c8f6bd1bd24042
parent0dc20562967dd750b5b3752308d45772af0d95db
libcgrouptest: Change the dynamic creation of messages to static 2d array

From: Sudhir Kumar <skumar@linux.vnet.ibm.com>

This is addressing all the comments on the list and others too.

Earlier we were creating the messgae array dynamicaly which is not required
as the messages do not change dynamicaly. Let us have a static 2D array of
messages. This patch does that.
(This addresses the comment on the list ;))

Signed-off-by: Sudhir Kumar <skumar@linux.vnet.ibm.com>
Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com>
git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@295 4f4bb910-9a46-0410-90c8-c897d4f1cd53
tests/libcgrouptest.h
tests/libcgrouptest01.c