summaryrefslogtreecommitdiff
path: root/graphics/cinepaint/patches/patch-aj
blob: 863b4987ad657b81aacaf432a73e45638adf4c2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-aj,v 1.1 2005/03/16 18:32:50 rillig Exp $

gcc-2.95.3 cannot handle declarations intermixed with code.

--- app/depth/levels.c.orig	Tue Nov 23 13:01:51 2004
+++ app/depth/levels.c	Wed Mar 16 17:47:55 2005
@@ -4173,13 +4173,12 @@ levels_reset_callback       (GtkWidget *
 {
   LevelsDialog *ld;
   HistogramValues *values;
+  int single, channel;
 
   ld = levels_dialog;
   values = histogram_values (ld->histogram);
 
-  int single = FALSE,
-      channel;
-
+  single = FALSE;
   channel = ld->channel;
 
   if (channel != HISTOGRAM_VALUE)