~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/archive/azio.c

  • Committer: Brian Aker
  • Date: 2008-07-11 16:46:57 UTC
  • Revision ID: brian@tangent.org-20080711164657-45weklayjvmpbr2u
Cleanup of warning/errors.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
#include <stdio.h>
17
17
#include <string.h>
18
18
#include <assert.h>
19
 
 
20
 
/* TODO: For some reason these aren't showing up cleanly in the 
21
 
 *  * includes... why? 
22
 
 *   */
23
 
#if !defined(pread)
24
 
extern ssize_t pread (int __fd, void *__buf, size_t __nbytes,
25
 
                      off_t __offset);
26
 
#endif
27
 
#if !defined(pwrite)
28
 
extern ssize_t pwrite (int __fd, __const void *__buf, size_t __n,
29
 
                       off_t __offset);
30
 
#endif
 
19
#include <unistd.h>
31
20
 
32
21
static int const az_magic[3] = {0xfe, 0x03, 0x01}; /* az magic header */
33
22