summaryrefslogtreecommitdiff
blob: 207d30152027f5d24b1855ba51dbc2c93e85e5a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
https://bugs.gentoo.org/707310
--- a/PKININIT.c
+++ b/PKININIT.c
@@ -65,6 +65,8 @@ void writeversiontooutput(void); /*041011*/
 void writechangestooutput(void); /*040215*/
 void writecmdhelptooutput(void); /*040425*/
 
+extern int Lribbonnew;
+
 static char* prekinchanges[] =
 {"\r"
 ,"020514 Cbeta:Superpos,NB:Prekin,IOmage\r"
--- a/PKINRIBB.c
+++ b/PKINRIBB.c
@@ -6,6 +6,8 @@
 #define   PKINRIBB
 #include "PKINRIBB.h"
 #undef    PKINRIBB
+
+extern int Lribbonnew;
  
 /*{{{--NOTE--  version, etc. */
 /*051025  for now, just work with one model, and let prekin's levels==sections*/
--- a/PKINRIBB.h
+++ b/PKINRIBB.h
@@ -5,7 +5,7 @@
 #define PKINRIBB extern
 #endif
 
-PKINRIBB    int   Lribbonnew;  /*051025 new ribbon structures: PKINRIBB*/
+extern int   Lribbonnew;  /*051025 new ribbon structures: PKINRIBB*/
 
 #define CORDER 4  /*order of the B-spline defined here*/