~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_seek.cc

  • Committer: Brian Aker
  • Date: 2008-12-02 16:33:43 UTC
  • mfrom: (632.1.19 devel)
  • Revision ID: brian@tangent.org-20081202163343-007ifg17p0lvjga7
Merge from Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
                       actual error.
43
43
*/
44
44
 
45
 
my_off_t my_seek(File fd, my_off_t pos, int whence,
46
 
                 myf MyFlags __attribute__((unused)))
 
45
my_off_t my_seek(File fd, my_off_t pos, int whence, myf)
47
46
{
48
47
  register off_t newpos= -1;
49
48
  assert(pos != MY_FILEPOS_ERROR);              /* safety check */
74
73
        /* Tell current position of file */
75
74
        /* ARGSUSED */
76
75
 
77
 
my_off_t my_tell(File fd, myf MyFlags __attribute__((unused)))
 
76
my_off_t my_tell(File fd)
78
77
{
79
78
  off_t pos;
80
79
  assert(fd >= 0);