diff options
author | Eric Wong <normalperson@yhbt.net> | 2008-10-21 01:31:36 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-21 01:31:36 +0200 |
commit | 686a6df3a564400bc2f0d339e548e2a76677b1f5 (patch) | |
tree | ca6f9e00d27d9859b28b85d1892f71e1bb7b2e09 /src/dirvec.c | |
parent | f2525e3efbd35262ac1fa017482c8a70c11f35c0 (diff) | |
download | mpd-686a6df3a564400bc2f0d339e548e2a76677b1f5.tar.gz mpd-686a6df3a564400bc2f0d339e548e2a76677b1f5.tar.xz mpd-686a6df3a564400bc2f0d339e548e2a76677b1f5.zip |
{dir,song}vec: these structs are const
We definitely don't modify them here.
Diffstat (limited to 'src/dirvec.c')
-rw-r--r-- | src/dirvec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dirvec.c b/src/dirvec.c index 7493a4d2c..8f8bcd0c8 100644 --- a/src/dirvec.c +++ b/src/dirvec.c @@ -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 *); } |