~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzle.cc

  • Committer: Olaf van der Spek
  • Date: 2011-02-21 21:45:55 UTC
  • mto: (2190.1.2 drizzle-build)
  • mto: This revision was merged to the branch mainline in revision 2191.
  • Revision ID: olafvdspek@gmail.com-20110221214555-ryzxlqrw5tm1ypp1
Remove register keyword

Show diffs side-by-side

added added

removed removed

Lines of Context:
428
428
static void add_int_to_prompt(int toadd);
429
429
static int get_result_width(drizzle_result_st *res);
430
430
static int get_field_disp_length(drizzle_column_st * field);
431
 
static const char * strcont(register const char *str, register const char *set);
 
431
static const char * strcont(const char *str, const char *set);
432
432
 
433
433
/* A class which contains information on the commands this program
434
434
   can understand. */
2760
2760
static int
2761
2761
com_help(string *buffer, const char *)
2762
2762
{
2763
 
  register int i, j;
 
2763
  int i, j;
2764
2764
  char buff[32], *end;
2765
2765
  std::vector<char> output_buff;
2766
2766
  output_buff.resize(512);
4661
4661
    if there isn't anything found.
4662
4662
*/
4663
4663
 
4664
 
static const char * strcont(register const char *str, register const char *set)
 
4664
static const char * strcont(const char *str, const char *set)
4665
4665
{
4666
 
  register const char * start = (const char *) set;
 
4666
  const char * start = (const char *) set;
4667
4667
 
4668
4668
  while (*str)
4669
4669
  {