~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to dbug/example2.c

  • Committer: Brian Aker
  • Date: 2008-07-14 03:04:13 UTC
  • mfrom: (77.1.90 codestyle)
  • Revision ID: brian@tangent.org-20080714030413-dpv6opb0eoy1rd3f
Merging Monty's code, I did remove error on compile though (since it does
not currently work because of sql_plugin.cc)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
int debug = 0;
 
2
 
 
3
main (argc, argv)
 
4
int argc;
 
5
char *argv[];
 
6
{
 
7
    /* printf ("argv = %x\n", argv) */
 
8
    if (debug) printf ("argv[0] = %d\n", argv[0]);
 
9
    /*
 
10
     *  Rest of program
 
11
     */
 
12
#ifdef DEBUG
 
13
    printf ("== done ==\n");
 
14
#endif
 
15
}