~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_getsystime.cc

  • Committer: Stewart Smith
  • Date: 2009-10-08 05:42:49 UTC
  • mto: This revision was merged to the branch mainline in revision 1179.
  • Revision ID: stewart@flamingspork.com-20091008054249-78vvx5go50haytjh
remove unused my_time_possible_from_micro

Show diffs side-by-side

added added

removed removed

Lines of Context:
126
126
  return newtime;
127
127
}
128
128
 
129
 
 
130
 
/*
131
 
  Returns current time
132
 
 
133
 
  SYNOPSIS
134
 
    my_time_possible_from_micro()
135
 
    microtime           Value from very recent my_micro_time()
136
 
 
137
 
  NOTES
138
 
    This function returns the current time. The microtime argument is only used
139
 
    if my_micro_time() uses a function that can safely be converted to the
140
 
    current time.
141
 
 
142
 
  RETURN
143
 
    current time
144
 
*/
145
 
 
146
 
time_t my_time_possible_from_micro(uint64_t microtime)
147
 
{
148
 
  return (time_t) (microtime / 1000000);
149
 
}
150