aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2004-08-30 01:10:57 +0000
committerDimitri Sokolyuk <demon@dim13.org>2004-08-30 01:10:57 +0000
commit09c6cf4c96e878b4d436ef40d98eb16c416f73b7 (patch)
treecb96dd5cb6255fdc04efbaf6c6c8fb00ced165ba
parentb4cc838b29e12b2fb441eda315103d97d1cc17e6 (diff)
cleanup
-rw-r--r--watch.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/watch.c b/watch.c
index 3c79a87..a38a48a 100644
--- a/watch.c
+++ b/watch.c
@@ -26,12 +26,6 @@ static const char rcsid[] =
"$Id$";
static const char version[] = "0.6.1";
-#if defined(__linux__)
-#define __dead __volatile
-#endif
-
-#define BUFSIZE _POSIX_MAX_INPUT
-
#include <sys/ioctl.h>
#include <sys/time.h>
@@ -46,6 +40,12 @@ static const char version[] = "0.6.1";
#include <time.h>
#include <unistd.h>
+#if defined(__linux__)
+#define __dead __volatile
+#endif
+
+#define BUFSIZE _POSIX_MAX_INPUT
+
static int readargs(char **);
static int readcmd(void);
static void display();