aboutsummaryrefslogtreecommitdiffstats
path: root/rngd_entsource.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2010-07-03 23:00:18 -0400
committerJeff Garzik <jgarzik@redhat.com>2010-07-03 23:00:18 -0400
commita26d20cfbb7b8dd9856e62c6ce07e03d77df1d67 (patch)
tree90a0ea5581032e5edc440130782ef3e0778ee035 /rngd_entsource.c
parentd1b4c50492be7346f9b4eea44a3e18b15cbca0c5 (diff)
downloadrng-tools-a26d20cfbb7b8dd9856e62c6ce07e03d77df1d67.tar.gz
rng-tools-a26d20cfbb7b8dd9856e62c6ce07e03d77df1d67.tar.xz
rng-tools-a26d20cfbb7b8dd9856e62c6ce07e03d77df1d67.zip
s/list_add/src_list_add/
Avoid global namespace clashes. Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'rngd_entsource.c')
-rw-r--r--rngd_entsource.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rngd_entsource.c b/rngd_entsource.c
index 102178b..9d07691 100644
--- a/rngd_entsource.c
+++ b/rngd_entsource.c
@@ -170,7 +170,7 @@ int init_entropy_source(struct rng *ent_src)
if (ent_src->rng_fd == -1) {
return 1;
}
- list_add(ent_src);
+ src_list_add(ent_src);
/* Bootstrap FIPS tests */
ent_src->fipsctx = malloc(sizeof(fips_ctx_t));
fips_init(ent_src->fipsctx, discard_initial_data(ent_src));
@@ -186,7 +186,7 @@ int init_tpm_entropy_source(struct rng *ent_src)
if (ent_src->rng_fd == -1) {
return 1;
}
- list_add(ent_src);
+ src_list_add(ent_src);
/* Bootstrap FIPS tests */
ent_src->fipsctx = malloc(sizeof(fips_ctx_t));
fips_init(ent_src->fipsctx, 0);