Rename xmalloc_and_zero() to xzalloc().

The former name is more or less only used by tinc, the latter is used by other
projects as well, and shorter as well.
This commit is contained in:
Guus Sliepen 2013-05-01 17:31:33 +02:00
parent 9b9230a0a7
commit 5b07039b07
16 changed files with 24 additions and 24 deletions

View file

@ -70,7 +70,7 @@ void exit_edges(void) {
/* Creation and deletion of connection elements */
edge_t *new_edge(void) {
return xmalloc_and_zero(sizeof(edge_t));
return xzalloc(sizeof(edge_t));
}
void free_edge(edge_t *e) {