*** empty log message ***
authorMatthew Mondor <mmondor@pulsar-zone.net>
Thu, 7 Sep 2006 08:08:13 +0000 (08:08 +0000)
committerMatthew Mondor <mmondor@pulsar-zone.net>
Thu, 7 Sep 2006 08:08:13 +0000 (08:08 +0000)
tests/entropy/entropy_disk.c

index 886f912..70b9a00 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: entropy_disk.c,v 1.3 2006/09/07 07:25:53 mmondor Exp $ */
+/* $Id: entropy_disk.c,v 1.4 2006/09/07 08:08:13 mmondor Exp $ */
 
 /*
  * Copyright (c) 2006, Matthew Mondor
@@ -73,10 +73,10 @@ enum direction {
 
 typedef struct drive_entry {
        SLIST_ENTRY(drive_entry) chain;
-       char    *name;
-       off_t   max, pos;
-       int     fd;
-       int     dir, dircnt;
+       char            *name;
+       off_t           max, pos;
+       int             fd;
+       int             dir, dircnt;
 } disk_t;
 
 SLIST_HEAD(slisthead, drive_entry);
@@ -85,18 +85,18 @@ SLIST_HEAD(slisthead, drive_entry);
 
 
 
-int            main(int, char **);
+int                    main(int, char **);
 
-static int     prng_init(void);
-static void    prng_reseed(void);
-static void    prng_close(void);
-static void    signal_handler(int);
-static int     detach(const char *);
-static void    disk_open(const char *);
-static int     disks_open(void);
-static void    disks_close(void);
-static void    *buffer_alloc(size_t);
-static void    buffer_free(void *, size_t);
+static int             prng_init(void);
+static void            prng_reseed(void);
+static void            prng_close(void);
+static void            signal_handler(int);
+static int             detach(const char *);
+static void            disk_open(const char *);
+static int             disks_open(void);
+static void            disks_close(void);
+static void            *buffer_alloc(size_t);
+static void            buffer_free(void *, size_t);