summaryrefslogtreecommitdiff
path: root/examples/playlists.c
diff options
context:
space:
mode:
authortedbullock <tedbullock>2007-03-29 06:00:40 +0000
committertedbullock <tedbullock>2007-03-29 06:00:40 +0000
commitcd9f49913d12199fa7971309530a37f664df916e (patch)
tree59ceed35657739e31b567e6ceeb8395e0c8b36ff /examples/playlists.c
parent3968f36bc964334dcd3477ca780374436b673f17 (diff)
downloadlibmtp-cd9f49913d12199fa7971309530a37f664df916e.tar.gz
* examples/*.c: Print library version number on execution of examples
* src/libmtp.h.in: New version number string to aid version echoing
Diffstat (limited to 'examples/playlists.c')
-rw-r--r--examples/playlists.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/playlists.c b/examples/playlists.c
index 4422d97..4d2d0c4 100644
--- a/examples/playlists.c
+++ b/examples/playlists.c
@@ -50,6 +50,8 @@ int main (int argc, char **argv)
LIBMTP_mtpdevice_t *device;
LIBMTP_playlist_t *playlists;
+ fprintf(stdout, "libmtp version: " LIBMTP_VERSION_STRING "\n\n");
+
LIBMTP_Init();
device = LIBMTP_Get_First_Device();
if (device == NULL) {