aboutsummaryrefslogtreecommitdiff
path: root/astro/sextractor/files/patch-src_analyse.c
blob: 61e69ae373af140bf92c30c97861e274dc122377 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- src/analyse.c.orig	2006-06-29 17:58:03 UTC
+++ src/analyse.c
@@ -23,6 +23,8 @@
 #include	<stdlib.h>
 #include	<string.h>
 
+#define		IN_MAIN
+
 #include	"define.h"
 #include	"globals.h"
 #include	"prefs.h"
@@ -41,7 +43,7 @@
 #include	"som.h"
 #include	"winpos.h"
 
-static obj2struct	*obj2 = &outobj2;
+static obj2struct *obj2 = &outobj2;
 
 /********************************* analyse ***********************************/
 void  analyse(picstruct *field, picstruct *dfield, int objnb,