Skip to content
Snippets Groups Projects
Commit 57223768 authored by ballen4705's avatar ballen4705
Browse files

Added some tabbing so versions of C code and header files are clearer

git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@78 4ea69e1a-61f1-4043-bf83-b5c94c648137
parent 2f31b94d
Branches
No related tags found
No related merge requests found
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#include <errno.h> #include <errno.h>
#include "atacmds.h" #include "atacmds.h"
const char *CVSid1="$Id: atacmds.c,v 1.16 2002/10/22 09:44:55 ballen4705 Exp $\n" CVSID1 ; const char *CVSid1="$Id: atacmds.c,v 1.17 2002/10/22 09:50:53 ballen4705 Exp $\n" "\t" CVSID1 ;
// These Drive Identity tables are taken from hdparm 5.2, and are also // These Drive Identity tables are taken from hdparm 5.2, and are also
// given in the ATA/ATAPI specs for the IDENTIFY DEVICE command. Note // given in the ATA/ATAPI specs for the IDENTIFY DEVICE command. Note
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#include <errno.h> #include <errno.h>
#include "atacmds.h" #include "atacmds.h"
const char *CVSid1="$Id: atacmds.cpp,v 1.16 2002/10/22 09:44:55 ballen4705 Exp $\n" CVSID1 ; const char *CVSid1="$Id: atacmds.cpp,v 1.17 2002/10/22 09:50:53 ballen4705 Exp $\n" "\t" CVSID1 ;
// These Drive Identity tables are taken from hdparm 5.2, and are also // These Drive Identity tables are taken from hdparm 5.2, and are also
// given in the ATA/ATAPI specs for the IDENTIFY DEVICE command. Note // given in the ATA/ATAPI specs for the IDENTIFY DEVICE command. Note
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
#include "smartctl.h" #include "smartctl.h"
#include "extern.h" #include "extern.h"
const char *CVSid4="$Id: ataprint.c,v 1.15 2002/10/22 09:44:55 ballen4705 Exp $\n" CVSID2 CVSID3 CVSID6 ; const char *CVSid4="$Id: ataprint.c,v 1.16 2002/10/22 09:50:54 ballen4705 Exp $\n" "\t" CVSID2 "\t" CVSID3 "\t" CVSID6 ;
// Function for printing ASCII byte-swapped strings, skipping white // Function for printing ASCII byte-swapped strings, skipping white
// space. This is needed on little-endian architectures, eg Intel, // space. This is needed on little-endian architectures, eg Intel,
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
#include "smartctl.h" #include "smartctl.h"
#include "extern.h" #include "extern.h"
const char *CVSid4="$Id: ataprint.cpp,v 1.15 2002/10/22 09:44:55 ballen4705 Exp $\n" CVSID2 CVSID3 CVSID6 ; const char *CVSid4="$Id: ataprint.cpp,v 1.16 2002/10/22 09:50:54 ballen4705 Exp $\n" "\t" CVSID2 "\t" CVSID3 "\t" CVSID6 ;
// Function for printing ASCII byte-swapped strings, skipping white // Function for printing ASCII byte-swapped strings, skipping white
// space. This is needed on little-endian architectures, eg Intel, // space. This is needed on little-endian architectures, eg Intel,
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
#include <scsi/scsi.h> #include <scsi/scsi.h>
#include "scsicmds.h" #include "scsicmds.h"
const char *CVSid2="$Id: scsicmds.c,v 1.9 2002/10/22 09:44:55 ballen4705 Exp $\n" CVSID4 ; const char *CVSid2="$Id: scsicmds.c,v 1.10 2002/10/22 09:50:54 ballen4705 Exp $\n" "\t" CVSID4 ;
UINT8 logsense (int device, UINT8 pagenum, UINT8 *pBuf) UINT8 logsense (int device, UINT8 pagenum, UINT8 *pBuf)
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
#include <scsi/scsi.h> #include <scsi/scsi.h>
#include "scsicmds.h" #include "scsicmds.h"
const char *CVSid2="$Id: scsicmds.cpp,v 1.9 2002/10/22 09:44:55 ballen4705 Exp $\n" CVSID4 ; const char *CVSid2="$Id: scsicmds.cpp,v 1.10 2002/10/22 09:50:54 ballen4705 Exp $\n" "\t" CVSID4 ;
UINT8 logsense (int device, UINT8 pagenum, UINT8 *pBuf) UINT8 logsense (int device, UINT8 pagenum, UINT8 *pBuf)
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
#define GBUF_SIZE 65535 #define GBUF_SIZE 65535
const char* CVSid5="$Id: scsiprint.c,v 1.7 2002/10/22 09:44:55 ballen4705 Exp $\n" CVSID3 CVSID4 CVSID5 CVSID6 ; const char* CVSid5="$Id: scsiprint.c,v 1.8 2002/10/22 09:50:54 ballen4705 Exp $\n" "\t" CVSID3 "\t" CVSID4 "\t" CVSID5 "\t" CVSID6 ;
UINT8 gBuf[GBUF_SIZE]; UINT8 gBuf[GBUF_SIZE];
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
#define GBUF_SIZE 65535 #define GBUF_SIZE 65535
const char* CVSid5="$Id: scsiprint.cpp,v 1.7 2002/10/22 09:44:55 ballen4705 Exp $\n" CVSID3 CVSID4 CVSID5 CVSID6 ; const char* CVSid5="$Id: scsiprint.cpp,v 1.8 2002/10/22 09:50:54 ballen4705 Exp $\n" "\t" CVSID3 "\t" CVSID4 "\t" CVSID5 "\t" CVSID6 ;
UINT8 gBuf[GBUF_SIZE]; UINT8 gBuf[GBUF_SIZE];
......
...@@ -37,7 +37,8 @@ ...@@ -37,7 +37,8 @@
#include "scsiprint.h" #include "scsiprint.h"
extern const char *CVSid1, *CVSid2, *CVSid4, *CVSid5; extern const char *CVSid1, *CVSid2, *CVSid4, *CVSid5;
const char* CVSid6="$Id: smartctl.c,v 1.12 2002/10/22 09:44:55 ballen4705 Exp $\n" CVSID1 CVSID2 CVSID4 CVSID5 CVSID6 ; const char* CVSid6="$Id: smartctl.c,v 1.13 2002/10/22 09:50:54 ballen4705 Exp $\n"
"\t" CVSID1 "\t" CVSID2 "\t" CVSID4 "\t" CVSID5 "\t" CVSID6 ;
unsigned char driveinfo = FALSE; unsigned char driveinfo = FALSE;
unsigned char checksmart = FALSE; unsigned char checksmart = FALSE;
......
...@@ -37,7 +37,8 @@ ...@@ -37,7 +37,8 @@
#include "scsiprint.h" #include "scsiprint.h"
extern const char *CVSid1, *CVSid2, *CVSid4, *CVSid5; extern const char *CVSid1, *CVSid2, *CVSid4, *CVSid5;
const char* CVSid6="$Id: smartctl.cpp,v 1.12 2002/10/22 09:44:55 ballen4705 Exp $\n" CVSID1 CVSID2 CVSID4 CVSID5 CVSID6 ; const char* CVSid6="$Id: smartctl.cpp,v 1.13 2002/10/22 09:50:54 ballen4705 Exp $\n"
"\t" CVSID1 "\t" CVSID2 "\t" CVSID4 "\t" CVSID5 "\t" CVSID6 ;
unsigned char driveinfo = FALSE; unsigned char driveinfo = FALSE;
unsigned char checksmart = FALSE; unsigned char checksmart = FALSE;
......
/* /*
* smartd.c
*
* Home page of code is: http://smartmontools.sourceforge.net * Home page of code is: http://smartmontools.sourceforge.net
* *
* Copyright (C) 2002 Bruce Allen <smartmontools-support@lists.sourceforge.net> * Copyright (C) 2002 Bruce Allen <smartmontools-support@lists.sourceforge.net>
...@@ -38,7 +36,8 @@ ...@@ -38,7 +36,8 @@
#include "smartd.h" #include "smartd.h"
extern const char *CVSid1, *CVSid2; extern const char *CVSid1, *CVSid2;
const char *CVSid3="$Id: smartd.c,v 1.11 2002/10/22 09:44:55 ballen4705 Exp $\n" CVSID1 CVSID4 CVSID7 ; const char *CVSid3="$Id: smartd.c,v 1.12 2002/10/22 09:50:54 ballen4705 Exp $\n"
"\t" CVSID1 "\t" CVSID4 "\t" CVSID7 ;
int daemon_init(void){ int daemon_init(void){
pid_t pid; pid_t pid;
......
/* /*
* smartd.c
*
* Home page of code is: http://smartmontools.sourceforge.net * Home page of code is: http://smartmontools.sourceforge.net
* *
* Copyright (C) 2002 Bruce Allen <smartmontools-support@lists.sourceforge.net> * Copyright (C) 2002 Bruce Allen <smartmontools-support@lists.sourceforge.net>
...@@ -38,7 +36,8 @@ ...@@ -38,7 +36,8 @@
#include "smartd.h" #include "smartd.h"
extern const char *CVSid1, *CVSid2; extern const char *CVSid1, *CVSid2;
const char *CVSid3="$Id: smartd.cpp,v 1.11 2002/10/22 09:44:55 ballen4705 Exp $\n" CVSID1 CVSID4 CVSID7 ; const char *CVSid3="$Id: smartd.cpp,v 1.12 2002/10/22 09:50:54 ballen4705 Exp $\n"
"\t" CVSID1 "\t" CVSID4 "\t" CVSID7 ;
int daemon_init(void){ int daemon_init(void){
pid_t pid; pid_t pid;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment