summaryrefslogtreecommitdiff
path: root/src/bitmap.c
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2011-07-12 14:08:07 +0200
committerMichael Schroeder <mls@suse.de>2011-07-12 14:08:07 +0200
commit09f29f706df0cf171ba7e7e8a3272388039630e4 (patch)
tree8751165a972da652b43bc1219ccc64cfdd3901e1 /src/bitmap.c
parente29f9ccb48086b27462c751d1905ed3c5e703dfd (diff)
downloadlibsolv-09f29f706df0cf171ba7e7e8a3272388039630e4.tar.gz
libsolv-09f29f706df0cf171ba7e7e8a3272388039630e4.tar.bz2
libsolv-09f29f706df0cf171ba7e7e8a3272388039630e4.zip
- rename all sat_ to solv_
Diffstat (limited to 'src/bitmap.c')
-rw-r--r--src/bitmap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bitmap.c b/src/bitmap.c
index 0485945..d57971d 100644
--- a/src/bitmap.c
+++ b/src/bitmap.c
@@ -21,14 +21,14 @@ void
map_init(Map *m, int n)
{
m->size = (n + 7) >> 3;
- m->map = m->size ? sat_calloc(m->size, 1) : 0;
+ m->map = m->size ? solv_calloc(m->size, 1) : 0;
}
/* destructor */
void
map_free(Map *m)
{
- m->map = sat_free(m->map);
+ m->map = solv_free(m->map);
m->size = 0;
}
@@ -39,7 +39,7 @@ map_init_clone(Map *t, Map *s)
t->size = s->size;
if (s->size)
{
- t->map = sat_malloc(s->size);
+ t->map = solv_malloc(s->size);
memcpy(t->map, s->map, s->size);
}
else
@@ -53,7 +53,7 @@ map_grow(Map *m, int n)
n = (n + 7) >> 3;
if (m->size < n)
{
- m->map = sat_realloc(m->map, n);
+ m->map = solv_realloc(m->map, n);
memset(m->map + m->size, 0, n - m->size);
m->size = n;
}