Avoid global namespace clashes.
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
} \
} while (0)
-extern void list_add(struct rng *ent_src);
+extern void src_list_add(struct rng *ent_src);
#endif /* RNGD__H */
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));
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);
poll(&pfd, 1, 1000.0 * poll_timeout);
}
-void list_add(struct rng *ent_src)
+void src_list_add(struct rng *ent_src)
{
if (rng_list) {
struct rng *iter;