~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_seek.cc

  • Committer: Monty Taylor
  • Date: 2008-12-01 17:53:42 UTC
  • mto: This revision was merged to the branch mainline in revision 637.
  • Revision ID: monty@bitters-20081201175342-hcvfaecqmljhv86g
Fixed Sun Studio warnings in mysys.

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);