~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/drizzled.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:
181
181
extern "C" int gethostname(char *name, int namelen);
182
182
#endif
183
183
 
184
 
extern "C" RETSIGTYPE handle_segfault(int sig);
 
184
extern "C" void handle_segfault(int sig);
185
185
 
186
186
using namespace std;
187
187
 
721
721
#endif
722
722
 
723
723
 
724
 
extern "C" RETSIGTYPE print_signal_warning(int sig)
 
724
extern "C" void print_signal_warning(int sig)
725
725
{
726
726
  if (global_system_variables.log_warnings)
727
727
    errmsg_printf(ERRMSG_LVL_WARN, _("Got signal %d from thread %"PRIu64), sig,my_thread_id());
1185
1185
 
1186
1186
/** Called when a thread is aborted. */
1187
1187
/* ARGSUSED */
1188
 
extern "C" RETSIGTYPE end_thread_signal(int sig __attribute__((unused)))
 
1188
extern "C" void end_thread_signal(int sig __attribute__((unused)))
1189
1189
{
1190
1190
  Session *session=current_session;
1191
1191
  if (session)
1230
1230
  @todo
1231
1231
    One should have to fix that thr_alarm know about this thread too.
1232
1232
*/
1233
 
extern "C" RETSIGTYPE abort_thread(int sig __attribute__((unused)))
 
1233
extern "C" void abort_thread(int sig __attribute__((unused)))
1234
1234
{
1235
1235
  Session *session=current_session;
1236
1236
  if (session)
1248
1248
#endif
1249
1249
 
1250
1250
 
1251
 
extern "C" RETSIGTYPE handle_segfault(int sig)
 
1251
extern "C" void handle_segfault(int sig)
1252
1252
{
1253
1253
  time_t curr_time;
1254
1254
  struct tm tm;