]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
api: don't keep one copy of the mount table per .c file
authorLennart Poettering <lennart@poettering.net>
Wed, 24 Mar 2010 20:04:36 +0000 (21:04 +0100)
committerDhaval Giani <dhaval.giani@gmail.com>
Fri, 26 Mar 2010 11:56:44 +0000 (12:56 +0100)
commit5d10a64fe1e07e240e4e16c8e8aede8dcd552149
tree78438268e8a00d6b84cb56b265b17d048adab3a1
parent162e7612f623fe69437ef258b033e4c1518a5cc8
api: don't keep one copy of the mount table per .c file

The mount table variables need to be declared in the header file and
defined in the .c file. If we don't do that every .o file will end up
with its own copy of those variables.

Signed-off-by: Lennart Poettering <lennart@poettering.net>
Acked-by: Dhaval Giani <dhaval.giani@gmail.com>
Signed-off-by: Dhaval Giani <dhaval.giani@gmail.com>
src/api.c
src/libcgroup-internal.h