diff options
author | Max Kellermann <max@duempel.org> | 2008-12-16 21:18:33 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-12-16 21:18:33 +0100 |
commit | d0024c077d94963d86651748888187944441699c (patch) | |
tree | df7e7f23505fcfa81dde8ec63c35a67e72329eca /src/ls.h | |
parent | 1d82edc6d36115ef4ecc251086a5b31c72333e5d (diff) | |
download | mpd-d0024c077d94963d86651748888187944441699c.tar.gz mpd-d0024c077d94963d86651748888187944441699c.tar.xz mpd-d0024c077d94963d86651748888187944441699c.zip |
ls: use bool
Use the C99 "bool" data type instead of "int".
Diffstat (limited to 'src/ls.h')
-rw-r--r-- | src/ls.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -21,12 +21,14 @@ #include "decoder_list.h" +#include <stdbool.h> + struct stat; struct client; const char *getSuffix(const char *utf8file); -int isRemoteUrl(const char *url); +bool isRemoteUrl(const char *url); const struct decoder_plugin * hasMusicSuffix(const char *utf8file, unsigned int next); |