inotify: Constify function argument
authorBenjamin Otte <otte@redhat.com>
Thu, 22 Jul 2010 18:23:04 +0000 (20:23 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 22 Jul 2010 19:56:20 +0000 (21:56 +0200)
gcc complained...

gio/inotify/inotify-helper.c

index b53f011..f567e1b 100644 (file)
@@ -135,7 +135,7 @@ _ih_sub_cancel (inotify_sub *sub)
 }
 
 static char *
-_ih_fullpath_from_event (ik_event_t *event, char *dirname)
+_ih_fullpath_from_event (ik_event_t *event, const char *dirname)
 {
   char *fullpath;