~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_lib.c

  • Committer: Brian Aker
  • Date: 2008-08-10 17:18:41 UTC
  • mfrom: (287.3.13 codestyle)
  • Revision ID: brian@tangent.org-20080810171841-pkvi2ky94wbd0nt5
Merge from Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
#define NAMES_START_SIZE   32768
54
54
 
55
55
 
56
 
static int      comp_names(struct fileinfo *a,struct fileinfo *b);
 
56
static int comp_names(const struct fileinfo *a, const struct fileinfo *b);
57
57
 
58
58
 
59
59
        /* We need this because program don't know with malloc we used */
74
74
 
75
75
        /* Compare in sort of filenames */
76
76
 
77
 
static int comp_names(struct fileinfo *a, struct fileinfo *b)
 
77
static int comp_names(const struct fileinfo *a, const struct fileinfo *b)
78
78
{
79
79
  return (strcmp(a->name,b->name));
80
80
} /* comp_names */