"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "hdparm.c" between
hdparm-9.64.tar.gz and hdparm-9.65.tar.gz

About: hdparm - get/set ATA/SATA drive parameters under Linux.

hdparm.c  (hdparm-9.64):hdparm.c  (hdparm-9.65)
/* /*
* hdparm.c - Command line interface to get/set hard disk parameters. * hdparm.c - Command line interface to get/set hard disk parameters.
* - by Mark Lord (C) 1994-2022 -- freely distributable. * - by Mark Lord (C) 1994-2022 -- freely distributable.
*/ */
#define HDPARM_VERSION "v9.64" #define HDPARM_VERSION "v9.65"
#define _LARGEFILE64_SOURCE /*for lseek64*/ #define _LARGEFILE64_SOURCE /*for lseek64*/
#define _BSD_SOURCE /* for strtoll() */ #define _BSD_SOURCE /* for strtoll() */
#include <unistd.h> #include <unistd.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#define __USE_GNU /* for O_DIRECT */ #define __USE_GNU /* for O_DIRECT */
#include <string.h> #include <string.h>
#include <fcntl.h> #include <fcntl.h>
#include <errno.h> #include <errno.h>
skipping to change at line 28 skipping to change at line 28
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/sysmacros.h> #include <sys/sysmacros.h>
#include <sys/time.h> #include <sys/time.h>
#include <sys/times.h> #include <sys/times.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/mount.h> #include <sys/mount.h>
#include <sys/mman.h> #include <sys/mman.h>
#include <sys/user.h> #include <sys/user.h>
#include <linux/types.h> #include <linux/types.h>
#ifndef FSCONFIG_SET_FLAG
#include <linux/fs.h> #include <linux/fs.h>
#endif
#include <linux/major.h> #include <linux/major.h>
#include <endian.h> #include <endian.h>
#include <asm/byteorder.h> #include <asm/byteorder.h>
#include "hdparm.h" #include "hdparm.h"
#include "sgio.h" #include "sgio.h"
static int argc; static int argc;
static char **argv; static char **argv;
static char *argp; static char *argp;
 End of changes. 3 change blocks. 
1 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)