~javier-lopez/ubuntu/quantal/cdo/sru-1023329

« back to all changes in this revision

Viewing changes to src/userlog.c

  • Committer: Bazaar Package Importer
  • Author(s): Alastair McKinstry
  • Date: 2010-09-22 15:58:09 UTC
  • mfrom: (1.2.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20100922155809-u1d3vlmlqj02uxjt
Tags: 1.4.6.dfsg.1-1
New upstream release. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
454
454
void dumplogs(const char *logfilename)
455
455
{
456
456
#if defined (HAVE_LOCK)
457
 
  static const char func[] = "dumplogs";
 
457
  static const char *func = "dumplogs";
458
458
  int  logfileno;
459
459
  int status;
460
460
  int date0 = 0, ncdo0, noper0, nhours0;
533
533
 
534
534
void daylogs(const char *logfilename)
535
535
{
536
 
  static const char func[] = "dumplogs";
 
536
  static const char *func = "dumplogs";
537
537
  int  logfileno;
538
538
  int status;
539
539
  int date0 = 0, ncdo0, noper0, nhours0;
603
603
 
604
604
void monlogs(const char *logfilename)
605
605
{
606
 
  static const char func[] = "dumplogs";
 
606
  static const char *func = "dumplogs";
607
607
  int  logfileno;
608
608
  int status;
609
609
  int date0 = 0, ncdo0, noper0, nhours0;
695
695
void cdologo(int noper)
696
696
{
697
697
#if defined (HAVE_LOCK)
698
 
  static char func[] = "cdologo";
 
698
  static const char *func = "cdologo";
699
699
#if defined (LOGPATH)
700
700
#define  XSTRING(x)     #x
701
701
#define  STRING(x)      XSTRING(x)
917
917
void dumplogo(const char *logfilename, int dumptype)
918
918
{
919
919
#if defined (HAVE_LOCK)
920
 
  static const char func[] = "dumplogo";
 
920
  static const char *func = "dumplogo";
921
921
  int logfileno;
922
922
  int status;
923
923
  int nocc;