summaryrefslogtreecommitdiff
path: root/print/gv/patches/patch-aa
blob: 7f519751c4c166a15f0ca4ec83b1c21fe4830679 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-aa,v 1.12 2004/12/30 21:04:25 snj Exp $

--- src/main.c.orig	2004-12-06 15:36:57.000000000 -0800
+++ src/main.c	2004-12-30 12:32:38.000000000 -0800
@@ -321,6 +321,7 @@ int main(argc, argv)
     Dimension    maximum_width,maximum_height;
     unsigned int gwidth=0,gheight=0;
     int          dim_forced;
+    int c;
 
 /*###  initializing global variables ####################################*/
 
@@ -420,7 +421,6 @@ int main(argc, argv)
 
    /*### Manage GNU command line arguments ########################*/
    int opt_counter = 0;
-   int c;
    while ((c = getopt_long (argc, argv, "vhu", GNU_longOptions, NULL))
 	  != -1)
      {