From 1d99ab9eea6fe313be865ff6a60b812a7c1aa466 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Thu, 11 Nov 2010 16:10:18 +0100 Subject: [PATCH] test/t_inotify.c: cleanup and moved to t_notify.c --- test/Makefile | 2 +- test/{t_inotify.c => t_notify.c} | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) rename test/{t_inotify.c => t_notify.c} (81%) diff --git a/test/Makefile b/test/Makefile index 7fab1f5..9655d4c 100644 --- a/test/Makefile +++ b/test/Makefile @@ -43,7 +43,7 @@ inotify : ../src/fscrawl.c \ ../src/queue.c \ ../src/inotify.c \ - t_inotify.c -o test_inotify + t_notify.c -o test_inotify fscrawl : $(CC) $(CFLAGS) \ diff --git a/test/t_inotify.c b/test/t_notify.c similarity index 81% rename from test/t_inotify.c rename to test/t_notify.c index aaf05fc..094d295 100644 --- a/test/t_inotify.c +++ b/test/t_notify.c @@ -2,10 +2,6 @@ #include #include "../src/notify.h" -PROT_SCAN_CALLBACK(my_callback) { - //printf("FROM THREAD -- path: %s; is_dir = %i\n", path, dir); -} - int main(int argc, char *argv[]) { notify_event *event; @@ -22,7 +18,7 @@ int main(int argc, char *argv[]) { for (;;) { - event = notify_read(3); + event = notify_read(); if (event == NULL) continue;