From: Uwe Hermann Date: Wed, 19 Jan 2011 22:47:21 +0000 (+0100) Subject: demo: Small indentation fix. X-Git-Tag: libsigrok-0.1.0~401 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=26ce0bbfd88121831c651c8042e3c843ccd5d2c2;p=libsigrok.git demo: Small indentation fix. --- diff --git a/hardware/demo/demo.c b/hardware/demo/demo.c index 1b16ee6a..0312d9cb 100644 --- a/hardware/demo/demo.c +++ b/hardware/demo/demo.c @@ -282,13 +282,13 @@ static void thread_func(void *data) /* Callback handling data */ static int receive_data(int fd, int revents, void *user_data) { -struct datafeed_packet packet; -char c[BUFSIZE]; -uint64_t z; + struct datafeed_packet packet; + char c[BUFSIZE]; + uint64_t z; -/* Avoid compiler warnings. */ -fd = fd; -revents = revents; + /* Avoid compiler warnings. */ + fd = fd; + revents = revents; do { g_io_channel_read_chars(channels[0],