$OpenBSD$

Index: src/openbsd.h
--- src/openbsd.h.orig
+++ src/openbsd.h
@@ -10,19 +10,23 @@
 #include "common.h"
 
 void parse_obsd_sensor(struct text_object *, const char *);
-void print_obsd_sensors_temp(struct text_object *, char *, int);
-void print_obsd_sensors_fan(struct text_object *, char *, int);
-void print_obsd_sensors_volt(struct text_object *, char *, int);
+void print_obsd_sensors_temp(struct text_object *, char *, unsigned int);
+void print_obsd_sensors_fan(struct text_object *, char *, unsigned int);
+void print_obsd_sensors_volt(struct text_object *, char *, unsigned int);
 void get_obsd_vendor(struct text_object *, char *buf,
-                     size_t client_buffer_size);
+                     unsigned int client_buffer_size);
 void get_obsd_product(struct text_object *, char *buf,
-                      size_t client_buffer_size);
+                      unsigned int client_buffer_size);
 
-#if defined(i386) || defined(__i386__)
 typedef struct apm_power_info *apm_info_t;
-#endif
 
 int get_entropy_avail(unsigned int *);
 int get_entropy_poolsize(unsigned int *);
+
+static int sensor_device;
+
+#ifndef MAXSENSORDEVICES
+#define MAXSENSORDEVICES 1024
+#endif
 
 #endif /*OPENBSD_H_*/
