~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_static.h

  • Committer: Andy Lester
  • Date: 2008-08-09 05:13:22 UTC
  • mto: (266.1.29 use-replace-funcs)
  • mto: This revision was merged to the branch mainline in revision 287.
  • Revision ID: andy@petdance.com-20080809051322-dzas70no2mv6c9i5
removed incorrect comment

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
  a shared library
19
19
*/
20
20
 
 
21
C_MODE_START
21
22
#include <signal.h>
22
23
 
23
24
#define MAX_SIGNALS     10              /* Max signals under a dont-allow */
25
26
#define MAX_KEYBLOCK    8192            /* Max keyblocklength == 8*IO_SIZE */
26
27
#define MAX_BLOCK_TYPES MAX_KEYBLOCK/MIN_KEYBLOCK
27
28
 
28
 
#ifdef __cplusplus
29
 
extern "C" {
30
 
#endif
31
 
 
32
29
struct st_remember {
33
30
  int number;
34
 
  RETSIGTYPE (*func)(int number);
 
31
  sig_handler (*func)(int number);
35
32
};
36
33
 
37
34
/*
63
60
extern USED_MEM* my_once_root_block;
64
61
extern uint      my_once_extra;
65
62
 
66
 
extern unsigned char    *sf_min_adress,*sf_max_adress;
 
63
extern uchar    *sf_min_adress,*sf_max_adress;
67
64
extern uint     sf_malloc_count;
68
65
extern struct st_irem *sf_malloc_root;
69
66
 
72
69
extern uint64_t query_performance_frequency, query_performance_offset;
73
70
 
74
71
extern sigset_t my_signals;             /* signals blocked by mf_brkhant */
75
 
 
76
 
#ifdef __cplusplus
77
 
}
78
 
#endif
79
 
 
 
72
C_MODE_END