]> git.proxmox.com Git - mirror_smartmontools-debian.git/blobdiff - os_solaris.h
Stop passing arguments to dh_installinit
[mirror_smartmontools-debian.git] / os_solaris.h
index 202dcac7af78f122efbaa6f206abda9f0fcf6c46..3d8d1bbe5e82abc973e1a69237d3df88ae0612ee 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * os_solaris.h
  *
- * Home page of code is: http://smartmontools.sourceforge.net
+ * Home page of code is: http://www.smartmontools.org
  *
- * Copyright (C) 2003-6 SAWADA Keiji <smartmontools-support@lists.sourceforge.net>
- * Copyright (C) 2003-6 Casper Dik <smartmontools-support@lists.sourceforge.net>
+ * Copyright (C) 2003-8 SAWADA Keiji <smartmontools-support@lists.sourceforge.net>
+ * Copyright (C) 2003-8 Casper Dik <smartmontools-support@lists.sourceforge.net>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -12,8 +12,8 @@
  * any later version.
  *
  * You should have received a copy of the GNU General Public License
- * (for example COPYING); if not, write to the Free
- * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ * (for example COPYING); if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  *
  * This code was originally developed as a Senior Thesis by Michael Cornwell
  * at the Concurrent Systems Laboratory (now part of the Storage Systems
@@ -25,7 +25,7 @@
 #ifndef OS_SOLARIS_H_
 #define OS_SOLARIS_H_
 
-#define OS_SOLARIS_H_CVSID "$Id: os_solaris.h,v 1.12 2006/04/12 14:54:28 ballen4705 Exp $\n"
+#define OS_SOLARIS_H_CVSID "$Id: os_solaris.h 4120 2015-08-27 16:12:21Z samm2 $\n"
 
 // Additional material should start here.  Note: to keep the '-V' CVS
 // reporting option working as intended, you should only #include
 #include <fcntl.h>
 
 // function prototypes for functions defined in os_solaris_ata.s
-int smart_read_data(int fd, void *data);
-int smart_read_thresholds(int fd, void *data);
-int smart_read_log(int fd, int s, int count, void *data);
-int ata_identify(int fd, void *data);
-int ata_pidentify(int fd, void *data);
-int smart_enable(int fd);
-int smart_disable(int fd);
-int smart_status(int fd);
-int smart_auto_offline(int fd, int s);
-int smart_auto_save(int fd, int s);
-int smart_immediate_offline(int fd, int s);
-int smart_status_check(int fd);
+extern "C" {
+  int smart_read_data(int fd, void *data);
+  int smart_read_thresholds(int fd, void *data);
+  int smart_read_log(int fd, int s, int count, void *data);
+  int ata_identify(int fd, void *data);
+  int ata_pidentify(int fd, void *data);
+  int smart_enable(int fd);
+  int smart_disable(int fd);
+  int smart_status(int fd);
+  int smart_auto_offline(int fd, int s);
+  int smart_auto_save(int fd, int s);
+  int smart_immediate_offline(int fd, int s);
+  int smart_status_check(int fd);
+}
 
 // wrapper macros
 #define smart_enable_auto_save(fd)     smart_auto_save(fd, 0xf1)