diff options
author | tedbullock <tedbullock> | 2007-03-29 06:00:40 +0000 |
---|---|---|
committer | tedbullock <tedbullock> | 2007-03-29 06:00:40 +0000 |
commit | cd9f49913d12199fa7971309530a37f664df916e (patch) | |
tree | 59ceed35657739e31b567e6ceeb8395e0c8b36ff /examples/playlists.c | |
parent | 3968f36bc964334dcd3477ca780374436b673f17 (diff) | |
download | libmtp-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.c | 2 |
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) { |