diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-03-24 21:05:23 +0100 |
---|---|---|
committer | Dhaval Giani <dhaval.giani@gmail.com> | 2010-03-26 12:56:45 +0100 |
commit | 7943d1eb2be34569829dfc2812a1bf4f6a6eb4d0 (patch) | |
tree | a7a9627d731216e2ca75d9d0e40a552de756a1d2 /src/api.c | |
parent | da79ab6702e4323f9f401f831d5da41f1e2a2a1b (diff) | |
download | libcg-7943d1eb2be34569829dfc2812a1bf4f6a6eb4d0.tar.gz libcg-7943d1eb2be34569829dfc2812a1bf4f6a6eb4d0.tar.xz libcg-7943d1eb2be34569829dfc2812a1bf4f6a6eb4d0.zip |
don't export functions that should not be exported
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>
Diffstat (limited to 'src/api.c')
-rw-r--r-- | src/api.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1180,7 +1180,7 @@ err: * * Create a duplicate copy of values under the specified controller */ -int cgroup_copy_controller_values(struct cgroup_controller *dst, +static int cgroup_copy_controller_values(struct cgroup_controller *dst, struct cgroup_controller *src) { int i, ret = 0; @@ -1380,7 +1380,7 @@ err: * Caller is responsible to free the returned string! * @return 0 on success, >0 on error. */ -int cgroup_find_parent(struct cgroup *cgroup, char **parent) +static int cgroup_find_parent(struct cgroup *cgroup, char **parent) { char child_path[FILENAME_MAX]; char *parent_path = NULL; @@ -2708,7 +2708,7 @@ int cgroup_walk_tree_set_flags(void **handle, int flags) * This parses a stat line which is in the form of (name value) pair * separated by a space. */ -int cg_read_stat(FILE *fp, struct cgroup_stat *stat) +static int cg_read_stat(FILE *fp, struct cgroup_stat *stat) { int ret = 0; char *line = NULL; |