Archived
1
0
Fork 0

test/t_inotify.c: cleanup and moved to t_notify.c

This commit is contained in:
Henrik Hautakoski 2010-11-11 16:10:18 +01:00
parent 5fd33c5115
commit 1d99ab9eea
2 changed files with 2 additions and 6 deletions

View file

@ -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) \

View file

@ -2,10 +2,6 @@
#include <stdio.h>
#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;