~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzle.cc

  • Committer: Monty Taylor
  • Date: 2009-01-09 19:40:29 UTC
  • mto: (779.1.4 devel)
  • mto: This revision was merged to the branch mainline in revision 784.
  • Revision ID: mordred@inaugust.com-20090109194029-vcic3m30e4uj0smj
General build cleanup - removed cruft, removed depreated checks.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1030
1030
static void end_timer(uint32_t start_time,char *buff);
1031
1031
static void drizzle_end_timer(uint32_t start_time,char *buff);
1032
1032
static void nice_time(double sec,char *buff,bool part_second);
1033
 
extern "C" RETSIGTYPE drizzle_end(int sig);
1034
 
extern "C" RETSIGTYPE handle_sigint(int sig);
 
1033
extern "C" void drizzle_end(int sig);
 
1034
extern "C" void handle_sigint(int sig);
1035
1035
#if defined(HAVE_TERMIOS_H) && defined(GWINSZ_IN_SYS_IOCTL)
1036
 
static RETSIGTYPE window_resize(int sig);
 
1036
static void window_resize(int sig);
1037
1037
#endif
1038
1038
 
1039
1039
int main(int argc,char *argv[])
1206
1206
  return(0);        // Keep compiler happy
1207
1207
}
1208
1208
 
1209
 
RETSIGTYPE drizzle_end(int sig)
 
1209
void drizzle_end(int sig)
1210
1210
{
1211
1211
  drizzle_close(&drizzle);
1212
1212
  if (!status.batch && !quick && histfile)
1250
1250
  no query in process, terminate like previous behavior
1251
1251
*/
1252
1252
extern "C"
1253
 
RETSIGTYPE handle_sigint(int sig)
 
1253
void handle_sigint(int sig)
1254
1254
{
1255
1255
  char kill_buffer[40];
1256
1256
  DRIZZLE *kill_drizzle= NULL;
1283
1283
 
1284
1284
 
1285
1285
#if defined(HAVE_TERMIOS_H) && defined(GWINSZ_IN_SYS_IOCTL)
1286
 
RETSIGTYPE window_resize(int)
 
1286
void window_resize(int)
1287
1287
{
1288
1288
  struct winsize window_size;
1289
1289