~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/internal/my_static.cc

  • Committer: Brian Aker
  • Date: 2011-02-22 06:12:02 UTC
  • mfrom: (2190.1.6 drizzle-build)
  • Revision ID: brian@tangent.org-20110222061202-k03czxykqy4x9hjs
List update, header fixes, multiple symbols, and David deletes some code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
  a shared library
19
19
*/
20
20
 
21
 
#include "config.h"
 
21
#include <config.h>
22
22
 
23
 
#include "drizzled/internal/my_sys.h"
24
 
#include "drizzled/error.h"
 
23
#include <drizzled/internal/my_sys.h>
 
24
#include <drizzled/error.h>
25
25
#include "my_static.h"
26
26
#include <stdlib.h>
27
27
 
 
28
#include <drizzled/visibility.h>
 
29
 
28
30
namespace drizzled
29
31
{
30
32
namespace internal
37
39
const char      *my_progname=0;
38
40
char curr_dir[FN_REFLEN]= {0},
39
41
     home_dir_buff[FN_REFLEN]= {0};
40
 
int my_umask=0664, my_umask_dir=0777;
 
42
DRIZZLED_API int my_umask=0664;
 
43
int my_umask_dir=0777;
41
44
uint32_t   my_file_limit= MY_NFILE;
42
45
 
43
46
        /* From mf_brkhant */
64
67
unsigned char *sf_min_adress= (unsigned char*) ~(unsigned long) 0L,
65
68
     *sf_max_adress= (unsigned char*) 0L;
66
69
/* Root of the linked list of struct st_irem */
67
 
struct irem *sf_malloc_root = NULL;
 
70
irem *sf_malloc_root = NULL;
68
71
 
69
72
        /* from my_alarm */
70
73
int volatile my_have_got_alarm=0;       /* declare variable to reset */