Skip to content

Commit

Permalink
removed unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
ulric committed May 19, 2015
1 parent 91ad168 commit 1c6ab79
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions mergelogs.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ typedef struct {

static server *servers;
static int nservers;
#if 0
static int debuglevel = 0;
#endif

static char *pfile;
static int jitter = 600; /* 10 minutes */
Expand All @@ -61,27 +58,6 @@ static char *months[] = {
"Jul", "Aug", "Sep", "Oct", "Nov", "Dec"
};

#if 0
static void debug(char *fmt, ...)
{
va_list ap;
va_start(ap, fmt);
vfprintf(stderr, fmt, ap);
va_end(ap);
fprintf(stderr, "\n");
}

static void error(char *fmt, ...)
{
va_list ap;
va_start(ap, fmt);
vfprintf(stderr, fmt, ap);
va_end(ap);
fprintf(stderr, "\n");
exit(1);
}
#endif

static void usage(void)
{
printf("Usage: mergelogs -p penlog [-j jitter] \\\n"
Expand Down

0 comments on commit 1c6ab79

Please sign in to comment.