summaryrefslogtreecommitdiff
path: root/sysutils/xosview/patches/patch-be
blob: cdb4b34b90ee3884fc22cd16db839682193a4619 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-be,v 1.1 2005/11/17 15:53:01 rillig Exp $

There's some prototype conflict with SunPro, when the constructor is
called. The "const int" is unnecessary, as ints are always passed by
value.

--- sunos5/cpumeter.h.orig	1999-01-31 21:26:38.000000000 +0100
+++ sunos5/cpumeter.h	2005-02-22 14:16:47.280965600 +0100
@@ -12,7 +12,7 @@
 
 class CPUMeter : public FieldMeterGraph {
  public:
-	CPUMeter(XOSView *parent, kstat_ctl_t *kcp, const int cpuid = 0);
+	CPUMeter(XOSView *parent, kstat_ctl_t *kcp, int cpuid = 0);
 	~CPUMeter(void);
 
 	const char *name(void) const { return "CPUMeter"; }