{dir,song}vec: these structs are const

We definitely don't modify them here.
This commit is contained in:
Eric Wong
2008-10-21 01:31:36 +02:00
committed by Max Kellermann
parent f2525e3efb
commit 686a6df3a5
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,7 @@
#include <string.h>
#include <glib.h>
static size_t dv_size(struct dirvec *dv)
static size_t dv_size(const struct dirvec *dv)
{
return dv->nr * sizeof(struct directory *);
}