~ubuntu-branches/ubuntu/edgy/cdparanoia/edgy

« back to all changes in this revision

Viewing changes to report.c

  • Committer: Bazaar Package Importer
  • Author(s): Dale E Martin
  • Date: 2002-03-15 11:23:27 UTC
  • Revision ID: james.westby@ubuntu.com-20020315112327-7e08i0np6duvv5ep
Tags: upstream-3a9.8
ImportĀ upstreamĀ versionĀ 3a9.8

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include <stdio.h>
 
2
#include "interface/cdda_interface.h"
 
3
 
 
4
int quiet=0;
 
5
int verbose=CDDA_MESSAGE_FORGETIT;
 
6
 
 
7
void report(char *s){
 
8
  if(!quiet){
 
9
    fprintf(stderr,s);
 
10
    fputc('\n',stderr);
 
11
  }
 
12
}
 
13
 
 
14
void report2(char *s, char *s2){
 
15
  if(!quiet){
 
16
    fprintf(stderr,s,s2);
 
17
    fputc('\n',stderr);
 
18
  }
 
19
}
 
20
 
 
21
void report3(char *s, char *s2, char *s3){
 
22
  if(!quiet){
 
23
    fprintf(stderr,s,s2,s3);
 
24
    fputc('\n',stderr);
 
25
  }
 
26
}