--- abv/src/bvl_bcomp_y.y	2009-06-14 09:51:19
+++ abv/src/bvl_bcomp_y.y	2026-05-01 10:31:02
@@ -49,6 +49,10 @@
 #include "bvl_util.h"
 #include "bvl_byacc.h"
 #include "bvl_bedef.h"
+#include "bvl_bspec.h"
+
+extern int yylex();
+extern int yyerror(char *);
 
 %}
 
--- asimut/src/c_hada_repondeur.c	2009-06-14 09:51:21
+++ asimut/src/c_hada_repondeur.c	2026-05-01 10:31:02
@@ -21,6 +21,8 @@
 #define ENTREE2 "fic_entree2"
 #define SORTIE "fic_sortie"
 
+extern void vhx_writeout(unsigned int, struct lkdins *, unsigned int, unsigned int);
+extern unsigned int vhx_readinput(struct lkdins *, unsigned int, unsigned int);
 
 void c_hada_repondeur (pt_lkdins)
 struct lkdins *pt_lkdins;
--- asimut/src/sch_debug.c	2009-06-14 09:51:21
+++ asimut/src/sch_debug.c	2026-05-01 10:31:02
@@ -8,6 +8,8 @@
 /* ###--------------------------------------------------------------### */
 
 #include <stdio.h>
+#include <string.h>
+
 #include "mut.h"
 #include "sch.h"
 #include "sch_debug.h"
--- asimut/src/vh_debug.c	2009-06-14 09:51:21
+++ asimut/src/vh_debug.c	2026-05-01 10:31:02
@@ -8,6 +8,8 @@
 /* ###--------------------------------------------------------------### */
 
 #include <stdio.h>
+#include <string.h>
+
 #include "mut.h"
 #include "mlo.h"
 #include "log.h"
@@ -17,6 +19,9 @@
 #include "vh_ltype.h"
 #include "vh_debug.h"
 
+extern void vhu_message(int, char *, int);
+extern void vhu_error(int, char *, char *);
+extern void vhu_toolbug(int code, char *str1, char *str2, int nbr1);
 
 /* ###--------------------------------------------------------------### */
 /* function	: read_field						*/
@@ -1392,7 +1397,7 @@
       *stkpnt           = stkidx;
       }
     else
-      vhu_error (120, NULL, NULL, 0);
+      vhu_error (120, NULL, NULL);
     }
   }
 
@@ -1591,7 +1596,7 @@
       break;
 
     default :
-      vhu_error (118, NULL, NULL, 0);
+      vhu_error (118, NULL, NULL);
     }
   }
 
@@ -1716,7 +1721,7 @@
 	/* ###------------------------------------------------------### */
 
     if (idx == _error_DFN)
-      vhu_error (118, NULL, NULL, 0);
+      vhu_error (118, NULL, NULL);
     else
       {
 
@@ -1733,7 +1738,7 @@
         if ((wrdcnt >= 2) && (indxs [wrdcnt - 1] != _error_DFN))
           pshtype = POINTER_DFN | s_DFN | indxs [wrdcnt - 1];
         else
-          vhu_error (119, NULL, NULL, 0);
+          vhu_error (119, NULL, NULL);
         }
       else
        pshtype = typ [idx];
@@ -1809,7 +1814,7 @@
                 readflg = 1;
                 }
               else
-                vhu_error (118, NULL, NULL, 0);
+                vhu_error (118, NULL, NULL);
               break;
 
 	/* ###------------------------------------------------------### */
@@ -1831,7 +1836,7 @@
                   readflg = 1;
                   }
                 else
-                  vhu_error (118, NULL, NULL, 0);
+                  vhu_error (118, NULL, NULL);
                 }
               break;
 
@@ -1844,7 +1849,7 @@
               if ((wrdcnt == 2) && (flags [1] == 1) && (nmbrs [1] < 10))
                 jtab [nmbrs[1]] = stk [stkpnt];
               else
-                vhu_error (118, NULL, NULL, 0);
+                vhu_error (118, NULL, NULL);
               break;
 
 	/* ###------------------------------------------------------### */
@@ -1856,7 +1861,7 @@
               if ((wrdcnt == 3) && (indxs [1] != _error_DFN))
                 disp_immd (str, pnt [indxs [1]], indxs [2]);
               else
-                vhu_error (118, NULL, NULL, 0);
+                vhu_error (118, NULL, NULL);
               break;
 
             }
@@ -1883,7 +1888,7 @@
                 readflg = 1;
                 }
               else
-                vhu_error (118, NULL, NULL, 0);
+                vhu_error (118, NULL, NULL);
               }
             }
           else
@@ -1907,7 +1912,7 @@
             readflg = 1;
             }
           else
-            vhu_error (118, NULL, NULL, 0);
+            vhu_error (118, NULL, NULL);
           break;
 
 	/* ###------------------------------------------------------### */
@@ -1924,7 +1929,7 @@
             readflg = 1;
             }
           else
-            vhu_error (118, NULL, NULL, 0);
+            vhu_error (118, NULL, NULL);
           break;
 
         }
--- asimut/src/vh_simulad.c	2002-04-04 10:44:23
+++ asimut/src/vh_simulad.c	2026-05-01 10:31:02
@@ -30,16 +30,22 @@
 #include "vh_simulad.h"
 #include "beh_delay.h"
 
+extern void vhi_models();
+extern void dast_dbg(void *, char *);
+extern char beh_backdelay(struct beden **, char *, unsigned char);
+extern void beh_setdelay(struct befig *, unsigned int, unsigned char, struct beden **);
+extern void beh_chkregdly(struct befig *, unsigned char);
+extern void vhx_commentspytable(struct paseq *, struct lkdspy *);
+extern void sch_SetCurrentTime(struct shdul *, unsigned int);
+extern void vhx_supdate(struct beden **, unsigned int);
+extern void vhx_vectorinit(struct lkdfig *);
+
 extern char MVL_ERRFLG;
 
 static char *VH_TUNIT_TABLE [] = { "vu", "fs", "ps", "ns", "us", "ms" };
 
 
-main (argc, argv)
-
-int   argc;
-char **argv;
-
+int main (int argc, char *argv[])
 {
   int              i             ;
   int              j             ;
--- asimut/src/vh_xcomm.c	2009-06-14 09:51:21
+++ asimut/src/vh_xcomm.c	2026-05-01 10:31:02
@@ -29,6 +29,15 @@
 #include "vh_globals.h"
 #include "vh_xcomm.h"
 
+extern void vhu_message(int, char *, int);
+extern int vhu_error(int, char *, char *);
+extern void vhu_warning(int, char *, char *);
+extern void vhu_toolbug(int, char *, char *, int);
+extern void vhu_splitname(char *, char **, char **);
+extern void sch_AddTransaction(struct shdul *, void *, void *, unsigned int,
+                               unsigned char, unsigned char, unsigned int, unsigned short);
+extern void vhx_addexec(struct ptype *);
+
 /* ###--------------------------------------------------------------### */
 /* function	: vhx_getvalu						*/
 /* description	: for the first call the function makes memory		*/
@@ -135,7 +144,7 @@
     while (pt_lkdins != NULL)
       {
       if (pt_lkdins->FLAG == VHL_CMODEL)
-        size += vhx_getvalu (pt_lkdins, &pt_mem, 0);
+        size += vhx_getvalu (pt_lkdins, &pt_mem, 0, NULL);
       else
         {
         pt_wriaux = pt_lkdins->WRIAUX;
@@ -633,7 +642,7 @@
     {
     if (pt_lkdins->FLAG == VHL_CMODEL)
       {
-      size = vhx_getvalu (pt_lkdins, &pt_mem, 0);
+      size = vhx_getvalu (pt_lkdins, &pt_mem, 0, NULL);
       fwrite (pt_mem, sizeof (char), size, fp);
       }
     else
@@ -1723,7 +1732,7 @@
       {
       if (pt_lkdins->FLAG == VHL_CMODEL)
         {
-        size = vhx_getvalu (pt_lkdins, &pt_mem, 0);
+        size = vhx_getvalu (pt_lkdins, &pt_mem, 0, NULL);
         fread (pt_mem, sizeof (char), size, fp);
         }
       else
@@ -2105,7 +2114,7 @@
 /* called func.	: vhx_addexec						*/
 /* ###--------------------------------------------------------------### */
 
-void vhx_callagain (pt_lkdins)
+void vhx_callagain (int pt_lkdins)
 
   {
   }
--- asimut/src/vh_xspec.c	2009-06-14 09:51:21
+++ asimut/src/vh_xspec.c	2026-05-01 10:31:02
@@ -24,6 +24,10 @@
 #include "vh_xcomm.h"
 #include "vh_xspec.h"
 
+extern void vhu_toolbug(int, char *, char *, int);
+extern void sch_AddTransaction(struct shdul *, void *, void *, unsigned int,
+                               unsigned char, unsigned char, unsigned int, unsigned short);
+
 /* ###--------------------------------------------------------------### */
 /* function	: vhx_execall						*/
 /* description	: execute the whole description				*/
@@ -1483,8 +1487,8 @@
   while (pt_simsig != NULL)
     {
     signame = (char *)getsigname(pt_simsig);
-    num_evt = st_getstat(dict, pt_simsig, CTXEVT, num_time, *(pt_simsig->CURVAL));
-    num_prb = st_getstat(dict, pt_simsig, CTXPRB, num_time, *(pt_simsig->CURVAL));
+    num_evt = st_getstat(dict, pt_simsig, (void *)CTXEVT, num_time, *(pt_simsig->CURVAL));
+    num_prb = st_getstat(dict, pt_simsig, (void *)CTXPRB, num_time, *(pt_simsig->CURVAL));
     pt_paiol = pt_paseq->PAIOL;
     while (pt_paiol != NULL)
       {
@@ -1542,8 +1546,8 @@
   while (pt_bussig != NULL)
     {
     signame = (char *)getsigname(pt_bussig);
-    num_evt = st_getstat(dict, pt_bussig, CTXEVT, num_time, *(pt_bussig->CURVAL));
-    num_prb = st_getstat(dict, pt_bussig, CTXPRB, num_time, *(pt_bussig->CURVAL));
+    num_evt = st_getstat(dict, pt_bussig, (void *)CTXEVT, num_time, *(pt_bussig->CURVAL));
+    num_prb = st_getstat(dict, pt_bussig, (void *)CTXPRB, num_time, *(pt_bussig->CURVAL));
     pt_paiol = pt_paseq->PAIOL;
     while (pt_paiol != NULL)
       {
@@ -1610,8 +1614,8 @@
         {
         sprintf(tmp, "%s.%s", pt_lkdins->INSNAME, pt_wriaux->BEAUX->NAME);
         signame = namealloc(tmp);
-        num_evt = st_getstat(dict, pt_wriaux, CTXEVT, num_time, *(pt_wriaux->CURVAL));
-        num_prb = st_getstat(dict, pt_wriaux, CTXPRB, num_time, *(pt_wriaux->CURVAL));
+        num_evt = st_getstat(dict, pt_wriaux, (void *)CTXEVT, num_time, *(pt_wriaux->CURVAL));
+        num_prb = st_getstat(dict, pt_wriaux, (void *)CTXPRB, num_time, *(pt_wriaux->CURVAL));
         (void) fprintf(fp, "signal %-25s : p('1') = %-6.4f | density = %6.4f ;\n", signame, (float)(num_prb)/(float)(num_time), (float)(num_evt) / (float)(num_cycle));
         }
       pt_wriaux = pt_wriaux->NEXT;
@@ -1629,8 +1633,8 @@
       {
       sprintf(tmp, "%s.%s", pt_lkdins->INSNAME, pt_wribux->BEBUX->NAME);
       signame = namealloc(tmp);
-      num_evt = st_getstat(dict, pt_wribux, CTXEVT, num_time, *(pt_wribux->CURVAL));
-      num_prb = st_getstat(dict, pt_wribux, CTXPRB, num_time, *(pt_wribux->CURVAL));
+      num_evt = st_getstat(dict, pt_wribux, (void *)CTXEVT, num_time, *(pt_wribux->CURVAL));
+      num_prb = st_getstat(dict, pt_wribux, (void *)CTXPRB, num_time, *(pt_wribux->CURVAL));
       (void) fprintf(fp, "tristate %-25s : p('1') = %-6.4f | density = %6.4f ;\n", signame, (float)(num_prb)/(float)(num_time), (float)(num_evt) / (float)(num_cycle));
       pt_wribux = pt_wribux->NEXT;
       }
@@ -1647,8 +1651,8 @@
       {
       sprintf(tmp, "%s.%s", pt_lkdins->INSNAME, pt_wrireg->BEREG->NAME);
       signame = namealloc(tmp);
-      num_evt = st_getstat(dict, pt_wrireg, CTXEVT, num_time, *(pt_wrireg->CURVAL));
-      num_prb = st_getstat(dict, pt_wrireg, CTXPRB, num_time, *(pt_wrireg->CURVAL));
+      num_evt = st_getstat(dict, pt_wrireg, (void *)CTXEVT, num_time, *(pt_wrireg->CURVAL));
+      num_prb = st_getstat(dict, pt_wrireg, (void *)CTXPRB, num_time, *(pt_wrireg->CURVAL));
       (void) fprintf(fp, "register %-25s : p('1') = %-6.4f | density = %6.4f ;\n", signame, (float)(num_prb)/(float)(num_time), (float)(num_evt) / (float)(num_cycle));
       pt_wrireg = pt_wrireg->NEXT;
       }
--- aut/src/auterror.h	2002-09-30 12:19:44
+++ aut/src/auterror.h	2026-05-01 10:31:02
@@ -93,5 +93,6 @@
 \------------------------------------------------------------*/
 
   extern  void  aut_error __P((int Error, char *Text, char *File, long Line));
+  extern  void  aut_warning __P((int Error, char *Text, char *File, long Line));
 
 # endif
--- b2f/src/b2f_error.h	2002-09-30 12:19:45
+++ b2f/src/b2f_error.h	2026-05-01 10:31:02
@@ -93,5 +93,7 @@
 |                          Functions                          |
 |                                                             |
 \------------------------------------------------------------*/
+void B2fDisplayError(char *File, int Line, int Error, char *Text);
+void B2fDisplayWarning(char *File, int Line, int Warning, char *Text);
 
 # endif
--- beh/src/beh_delbequad.c	2002-09-30 12:19:52
+++ beh/src/beh_delbequad.c	2026-05-01 10:31:02
@@ -43,7 +43,7 @@
 /* ###--------------------------------------------------------------### */
 
 void beh_delbequad (listbequad, ptbequad, mode)
-
+int listbequad;
 struct bequad *ptbequad;	/* pointer of the BEQUAD to be deleted	*/
 char           mode;		/* recursive delete or not (Y or N)	*/
 
--- bhl/src/beh_debug.c	2009-06-14 09:51:25
+++ bhl/src/beh_debug.c	2026-05-01 10:31:02
@@ -30,6 +30,8 @@
 /* ###--------------------------------------------------------------### */
 
 #include <stdio.h>
+#include <string.h>
+
 #include "mut.h"
 #include "log.h"
 #include "beh.h"
--- bhl/src/beh_makbdd.c	2002-09-30 12:19:54
+++ bhl/src/beh_makbdd.c	2026-05-01 10:31:02
@@ -36,6 +36,8 @@
 /* ###--------------------------------------------------------------### */
 
 #include <stdio.h>
+#include <string.h>
+
 #include "mut.h"
 #include "log.h"
 #include "beh.h"
--- bhl/src/beh_makderiv.c	2002-09-30 12:19:54
+++ bhl/src/beh_makderiv.c	2026-05-01 10:31:02
@@ -78,7 +78,7 @@
   pt_varidx = pt_bequad->VARLIST;
   while (pt_varidx != NULL)
     {
-    pt_node     = beh_derivSigByVar (pt_bequad->BDD, pt_varidx->DATA);
+    pt_node     = beh_derivSigByVar (pt_bequad->BDD, (short)pt_varidx->DATA);
     list_derive = beh_addbeder      (list_derive   , pt_node, pt_varidx->DATA);
 
     pt_varidx   = pt_varidx->NEXT;
--- bhl/src/beh_maknode.c	2002-09-30 12:19:54
+++ bhl/src/beh_maknode.c	2026-05-01 10:31:02
@@ -35,6 +35,8 @@
 #include "beh.h"
 #include "bhl.h"
 
+extern void beh_makquad(struct befig *);
+
 /* ###--------------------------------------------------------------### */
 /* function     : beh_maknode						*/
 /* description  : create node for each signal register or bus		*/ 
--- boog/src/bog_lib_negativ.c	2006-03-29 12:10:05
+++ boog/src/bog_lib_negativ.c	2026-05-01 10:31:02
@@ -55,7 +55,7 @@
       else {
          if (negativ) {
             abl=createablnotexpr(abl);
-            ABL_ARITY_L(abl)=1;
+            ABL_ARITY_L(abl)=(void *)1;
          }   
       }
       return abl;
@@ -63,30 +63,30 @@
 
    switch (ABL_OPER(abl)) {
       case ABL_AND: 
-         if (negativ) ABL_OPER_L(abl)=ABL_NAND;
-         else ABL_OPER_L(abl)=ABL_NOR;
+         if (negativ) ABL_OPER_L(abl)=(void *)ABL_NAND;
+         else ABL_OPER_L(abl)=(void *)ABL_NOR;
          negativ=!negativ;
          break;
       case ABL_NAND: 
-         if (negativ) ABL_OPER_L(abl)=ABL_NOR;
-         else ABL_OPER_L(abl)=ABL_NAND;
+         if (negativ) ABL_OPER_L(abl)=(void *)ABL_NOR;
+         else ABL_OPER_L(abl)=(void *)ABL_NAND;
          break;
       case ABL_OR:
-         if (negativ) ABL_OPER_L(abl)=ABL_NOR;
-         else ABL_OPER_L(abl)=ABL_NAND;
+         if (negativ) ABL_OPER_L(abl)=(void *)ABL_NOR;
+         else ABL_OPER_L(abl)=(void *)ABL_NAND;
          negativ=!negativ;
          break;
       case ABL_NOR:
-         if (negativ) ABL_OPER_L(abl)=ABL_NAND;
-         else ABL_OPER_L(abl)=ABL_NOR;
+         if (negativ) ABL_OPER_L(abl)=(void *)ABL_NAND;
+         else ABL_OPER_L(abl)=(void *)ABL_NOR;
          break;
       case ABL_XOR:
-         if (negativ) ABL_OPER_L(abl)=ABL_NXOR;
+         if (negativ) ABL_OPER_L(abl)=(void *)ABL_NXOR;
          negativ=0;
          /*nothing to do:  same size XOR and NXOR*/
          break;
       case ABL_NXOR:
-         if (negativ) ABL_OPER_L(abl)=ABL_XOR;
+         if (negativ) ABL_OPER_L(abl)=(void *)ABL_XOR;
          negativ=0;
          /*nothing to do*/
          break;
@@ -98,7 +98,7 @@
       case ABL_STABLE:
          if (negativ) {
             abl=createablnotexpr(abl);
-            ABL_ARITY_L(abl)=1;
+            ABL_ARITY_L(abl)=(void *)1;
          }   
          return abl;
       default:
@@ -187,22 +187,22 @@
             ABL_CAR_L(leaf)=getablatomzero();
          else {
             ABL_CAR_L(chain)=createablnotexpr(ABL_CAR(chain));
-            ABL_ARITY_L(ABL_CAR(chain))=1;
+            ABL_ARITY_L(ABL_CAR(chain))=(void *)1;
          }   
          continue;
       }
       else if (ABL_OPER(leaf)==ABL_STABLE) {
          ABL_CAR_L(chain)=createablnotexpr(ABL_CAR(chain));
-         ABL_ARITY_L(ABL_CAR(chain))=1;
+         ABL_ARITY_L(ABL_CAR(chain))=(void *)1;
          continue;
       }
       switch (ABL_OPER(leaf)) {
-         case ABL_AND: ABL_OPER_L(leaf)=ABL_NAND; break; 
-         case ABL_OR: ABL_OPER_L(leaf)=ABL_NOR; break; 
-         case ABL_NAND: ABL_OPER_L(leaf)=ABL_AND; break; 
-         case ABL_NOR: ABL_OPER_L(leaf)=ABL_OR; break; 
-         case ABL_XOR: ABL_OPER_L(leaf)=ABL_NXOR; break; 
-         case ABL_NXOR: ABL_OPER_L(leaf)=ABL_XOR; break; 
+         case ABL_AND: ABL_OPER_L(leaf)=(void *)ABL_NAND; break;
+         case ABL_OR: ABL_OPER_L(leaf)=(void *)ABL_NOR; break;
+         case ABL_NAND: ABL_OPER_L(leaf)=(void *)ABL_AND; break;
+         case ABL_NOR: ABL_OPER_L(leaf)=(void *)ABL_OR; break;
+         case ABL_XOR: ABL_OPER_L(leaf)=(void *)ABL_NXOR; break;
+         case ABL_NXOR: ABL_OPER_L(leaf)=(void *)ABL_XOR; break;
          case ABL_NOT: 
             ABL_CAR_L(chain)=ABL_CADR(leaf);
             freechain(leaf);
@@ -214,10 +214,10 @@
    }
    
    switch (ABL_OPER(abl)) {
-      case ABL_AND: ABL_OPER_L(abl)=ABL_NOR; break; 
-      case ABL_OR: ABL_OPER_L(abl)=ABL_NAND; break; 
-      case ABL_NAND: ABL_OPER_L(abl)=ABL_OR; break; 
-      case ABL_NOR: ABL_OPER_L(abl)=ABL_AND; break; 
+      case ABL_AND: ABL_OPER_L(abl)=(void *)ABL_NOR; break;
+      case ABL_OR: ABL_OPER_L(abl)=(void *)ABL_NAND; break;
+      case ABL_NAND: ABL_OPER_L(abl)=(void *)ABL_OR; break;
+      case ABL_NOR: ABL_OPER_L(abl)=(void *)ABL_AND; break;
       case ABL_NOT: 
          chain=abl;
          abl=ABL_CADR(abl);
--- boog/src/bog_lib_permute.c	2006-03-29 12:10:05
+++ boog/src/bog_lib_permute.c	2026-05-01 10:31:02
@@ -248,7 +248,7 @@
    /*put the operator*/
    for (chain=list_abl; chain; chain=chain->NEXT) {
       head=createabloper(ABL_OPER(abl));
-      ABL_ARITY_L(head)=ABL_ARITY(abl);
+      ABL_ARITY_L(head)=(void *)ABL_ARITY(abl);
       ABL_CDR(head)=dupablchain(chain->DATA);
       chain->DATA=head;
    }   
--- boog/src/bog_map_adapt.c	2007-07-18 12:37:36
+++ boog/src/bog_map_adapt.c	2026-05-01 10:31:02
@@ -85,7 +85,7 @@
         {
           /*add a not*/
           not=createabloper(ABL_NOT);
-          ABL_ARITY_L(not)=1;
+          ABL_ARITY_L(not)=(void *)1;
           /*swap pointers references*/
           swap_pointers(port->ABL,not);
           ABL_CDR(port->ABL)=addchain(NULL,not);
@@ -94,12 +94,12 @@
       else  
       {
         switch (ABL_OPER(port->ABL)) {
-        case ABL_AND: ABL_OPER_L(port->ABL)=ABL_NAND; break;
-        case ABL_NAND: ABL_OPER_L(port->ABL)=ABL_AND; break;
-        case ABL_OR: ABL_OPER_L(port->ABL)=ABL_NOR; break;
-        case ABL_NOR: ABL_OPER_L(port->ABL)=ABL_OR; break;
-        case ABL_XOR: ABL_OPER_L(port->ABL)=ABL_NXOR; break;
-        case ABL_NXOR: ABL_OPER_L(port->ABL)=ABL_XOR; break;
+        case ABL_AND: ABL_OPER_L(port->ABL)=(void *)ABL_NAND; break;
+        case ABL_NAND: ABL_OPER_L(port->ABL)=(void *)ABL_AND; break;
+        case ABL_OR: ABL_OPER_L(port->ABL)=(void *)ABL_NOR; break;
+        case ABL_NOR: ABL_OPER_L(port->ABL)=(void *)ABL_OR; break;
+        case ABL_XOR: ABL_OPER_L(port->ABL)=(void *)ABL_NXOR; break;
+        case ABL_NXOR: ABL_OPER_L(port->ABL)=(void *)ABL_XOR; break;
         case ABL_NOT: /*no need to insert*/
             port->ABL=ABL_CADR_L(port->ABL); continue;
         default:
@@ -112,7 +112,7 @@
       
       /*insert a NOT to match perfectly with cell*/
       not=createabloper(ABL_NOT);
-      ABL_ARITY_L(not)=1;
+      ABL_ARITY_L(not)=(void *)1;
       /*swap pointers references*/
       swap_pointers(port->ABL,not);
       ABL_CDR(port->ABL)=addchain(NULL,not);
@@ -160,12 +160,12 @@
       /*evaluate with the biggest oper*/
       int arity=ABL_ARITY(expr);  /*memorize arity*/
       /*search the biggest arity which matches expr*/
-      for (ABL_ARITY_L(expr)=ABL_ARITY(expr)-1 ; ABL_ARITY(expr)>0; 
-      ABL_ARITY_L(expr)=ABL_ARITY(expr)-1) {
+      for (ABL_ARITY_L(expr)=(void *)(ABL_ARITY(expr)-1) ; ABL_ARITY(expr)>0;
+      ABL_ARITY_L(expr)=(void *)(ABL_ARITY(expr)-1)) {
          cell=cell_prepare(expr);
          if (cell) break;
       }
-      ABL_ARITY_L(expr)=arity;   /*put back arity*/
+      ABL_ARITY_L(expr)=(void *)arity;   /*put back arity*/
       if (!cell) {
          fprintf(stderr,"Library Error: No cell could match  '");
          display_abl(expr);
@@ -241,12 +241,12 @@
       /*evaluate with the biggest oper*/
       arity=ABL_ARITY(expr);  /*memorize arity*/
       /*search the biggest arity which matches expr*/
-      for (ABL_ARITY_L(expr)=ABL_ARITY(expr)-1 ; ABL_ARITY(expr)>0; 
-      ABL_ARITY_L(expr)=ABL_ARITY(expr)-1) {
+      for (ABL_ARITY_L(expr)=(void *)ABL_ARITY(expr)-1 ; ABL_ARITY(expr)>0;
+      ABL_ARITY_L(expr)=(void *)ABL_ARITY(expr)-1) {
          cell=cell_prepare(expr);
          if (cell) break;
       }
-      ABL_ARITY_L(expr)=arity;   /*put back arity*/
+      ABL_ARITY_L(expr)=(void *)arity;   /*put back arity*/
       if (!cell) {
          fprintf(stderr,"Library Error: No cell could match  '");
          display_abl(expr);
@@ -315,7 +315,7 @@
       biabl->VALABL=build_negativ(biabl->VALABL);  
       biabl->VALABL=createablnotexpr(biabl->VALABL);
       /* createablnotexpr() can simplify*/
-      if (!ABL_ATOM(biabl->VALABL)) ABL_ARITY_L(biabl->VALABL)=1;
+      if (!ABL_ATOM(biabl->VALABL)) ABL_ARITY_L(biabl->VALABL)=(void *)1;
    }
 
    cell=cell_prepare_bus(biabl);
--- boog/src/bog_map_pattern.c	2006-03-29 12:10:05
+++ boog/src/bog_map_pattern.c	2026-05-01 10:31:02
@@ -406,7 +406,7 @@
    /*create a temporary NOT to match perfectly with cell*/
    not=createabloper(ABL_NOT);
    ABL_CDR(not)=addchain(NULL,NULL);
-   ABL_ARITY_L(not)=1;
+   ABL_ARITY_L(not)=(void *)1;
    
    /*take those are biggest*/
    for (cell=getcell_logic_lib(); cell; cell=cell->NEXT) {
@@ -566,7 +566,7 @@
    /*create a temporary NOT to match perfectly with cell*/
    not=createabloper(ABL_NOT);
    ABL_CDR(not)=addchain(NULL,NULL);
-   ABL_ARITY_L(not)=1;
+   ABL_ARITY_L(not)=(void *)1;
    
    for (cell=getcell_tristate_lib(); cell; cell=cell->NEXT) {
       /*prepare for use*/
@@ -713,7 +713,7 @@
    /*create a temporary NOT to match perfectly with cell*/
    not=createabloper(ABL_NOT);
    ABL_CDR(not)=addchain(NULL,NULL);
-   ABL_ARITY_L(not)=1;
+   ABL_ARITY_L(not)=(void *)1;
    
    cell=getcell_register_lib();
 
--- boog/src/bog_normalize_ARITY.c	2006-03-29 12:10:05
+++ boog/src/bog_normalize_ARITY.c	2026-05-01 10:31:02
@@ -54,7 +54,7 @@
      put_arity_abl((chain_list*)ABL_CAR(pattern));
 	}
 
-   ABL_ARITY_L(abl)=arity;
+   ABL_ARITY_L(abl)=(void *)arity;
    return ;
 }
 
--- boog/src/bog_normalize_DAG.c	2009-06-14 09:51:30
+++ boog/src/bog_normalize_DAG.c	2026-05-01 10:31:02
@@ -41,8 +41,8 @@
 #include "bog_normalize_DAG.h"
 
 
-#define USING(node) {node=-mark;}
-#define USED(node) {node=(long)((((long)node<0)?0L:(long)node)+1L);}
+#define USING(node) {node=(struct bddnode *)-mark;}
+#define USED(node) {node=(struct bddnode *)((((long)node<0)?0L:(long)node)+1L);}
 #define IS_USING(node) ((long)node==-mark)
 #define IS_USED(node) ((long)node!=0)
 #define IS_UNUSED(node) ((long)node==0)
--- boog/src/bog_normalize_simplify.c	2006-03-29 12:10:06
+++ boog/src/bog_normalize_simplify.c	2026-05-01 10:31:02
@@ -57,13 +57,13 @@
    
    switch(ABL_OPER(abl)) {
    case ABL_NAND: 
-      ABL_OPER_L(abl)=ABL_AND;
+      ABL_OPER_L(abl)=(void *)ABL_AND;
       return createablnotexpr(abl);
    case ABL_NOR: 
-      ABL_OPER_L(abl)=ABL_OR;
+      ABL_OPER_L(abl)=(void *)ABL_OR;
       return createablnotexpr(abl);
    case ABL_NXOR: 
-      ABL_OPER_L(abl)=ABL_XOR;
+      ABL_OPER_L(abl)=(void *)ABL_XOR;
       return createablnotexpr(abl);
    default: return abl;         
    }
--- boom/src/boom_aux.c	2006-03-29 12:10:07
+++ boom/src/boom_aux.c	2026-05-01 10:31:02
@@ -434,6 +434,7 @@
 
   befig_list *BehFigure;
   beaux_list *InitialAux;
+  int RemoveBerin;
 {
   boombeauxinfo *AuxInfo;
   beaux_list    *BehAux;
--- bvl/src/bvl_bcomp_y.y	2011-02-06 09:37:32
+++ bvl/src/bvl_bcomp_y.y	2026-05-01 10:31:02
@@ -19,6 +19,8 @@
 #include "bvl_bedef.h"
 #include "bvl_bcomp_y.h"
 
+int yylex();
+
 /* ###--------------------------------------------------------------### */
 /* function	: bvl_y_error						*/
 /* description	: print an error message				*/
@@ -2833,7 +2835,7 @@
 	  Bar
 	  choice
 		{
-		if ($3 == "others")
+		if (!strcmp($3, "others"))
 		  bvl_error (30, NULL);
 		BVL_NM1LST = addchain (BVL_NM1LST, $3);
 		}
--- bvl/src/bvl_parse.c	2009-06-14 09:51:33
+++ bvl/src/bvl_parse.c	2026-05-01 10:31:02
@@ -16,6 +16,8 @@
 #include "bhl.h"
 #include "bvl.h"
 
+extern void bvl_y_restart(FILE *input_file);
+
 /* ###--------------------------------------------------------------### */
 /* function	: vhdlloadbefig						*/
 /* description	: analyze a behavioural VHDL description and produce a	*/
--- ctl/src/ctldel.c	2002-09-30 12:20:04
+++ ctl/src/ctldel.c	2026-05-01 10:31:02
@@ -50,6 +50,8 @@
 # include "ctldel.h"
 # include "ctlerror.h"
 
+extern void freectltype(ctltype_list *);
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
--- ctp/src/ctp_bspec.c	2002-09-30 12:20:05
+++ ctp/src/ctp_bspec.c	2026-05-01 10:31:02
@@ -37,6 +37,8 @@
 
 static int CtpEvalError = 0;
 
+extern void ctp_toolbug(int, char *, char *, int);
+
 # ifndef NO_DEBUG
 # define my_ctp_toolbug(V1,V2,V3,V4) \
    do { fprintf( stderr, "%s.%d:", autbasename(__FILE__,NULL), __LINE__);\
--- ctp/src/ctp_l.l	2004-07-13 17:25:37
+++ ctp/src/ctp_l.l	2026-05-01 10:33:38
@@ -1,4 +1,4 @@
-/*------------------------------------------------------------\
+/**------------------------------------------------------------\
 |                                                             |
 | This file is part of the Alliance CAD System Copyright      |
 | (C) Laboratoire LIP6 - Département ASIM Universite P&M Curie|
--- ctp/src/ctp_y.y	2009-06-14 09:51:34
+++ ctp/src/ctp_y.y	2026-05-01 10:31:02
@@ -44,6 +44,10 @@
 #include "ctp_bspec.h"
 #include "ctp_byacc.h"
 
+int yylex();
+int yyerror(char *);
+extern void addctlpredefinedtype(ctlfig_list *);
+
 #if 1
 # define my_fprintf fprintf( stdout, "%s.%d:", autbasename(__FILE__,NULL), __LINE__ ); fprintf
 # define my_ctp_error(N,V) \
--- dreal/src/GME.h	2002-09-30 12:20:07
+++ dreal/src/GME.h	2026-05-01 10:31:02
@@ -81,7 +81,7 @@
 |                                                             |
 \------------------------------------------------------------*/
 
-  extern void DrealBuidlPanelModify();
+  extern void DrealBuildPanelModify();
   extern void DrealBuildEditDialog();
 
   extern void DrealEditSelectPointDelete();
--- dreal/src/GME_dialog.c	2002-09-30 12:20:07
+++ dreal/src/GME_dialog.c	2026-05-01 10:31:02
@@ -64,6 +64,7 @@
 # include "GME_modify.h"
 # include "GME_search.h"
 # include "GME_edit.h"
+# include "GME_message.h"
 
 /*------------------------------------------------------------\
 |                                                             |
--- dreal/src/GME_edit.c	2002-09-30 12:20:07
+++ dreal/src/GME_edit.c	2026-05-01 10:31:02
@@ -59,6 +59,7 @@
 # include "GTB.h"
 # include "GSB.h"
 # include "GME.h"
+# include "GMV.h"
 
 # include "GME_edit.h"
 # include "GME_panel.h"
--- dreal/src/GME_modify.c	2002-09-30 12:20:07
+++ dreal/src/GME_modify.c	2026-05-01 10:31:02
@@ -57,11 +57,14 @@
 # include "GMX.h"
 # include "GTB.h"
 # include "GME.h"
+# include "GMV.h"
 
 # include "GME_modify.h"
 # include "GME_panel.h"
 # include "GME_edit.h"
 # include "GME_message.h"
+
+extern void DrealLimitedLoop(Widget);
 
 /*------------------------------------------------------------\
 |                                                             |
--- dreal/src/GME_panel.c	2009-06-14 09:51:36
+++ dreal/src/GME_panel.c	2026-05-01 10:31:02
@@ -48,6 +48,8 @@
 # include <Xm/FileSB.h>
 # include <Xm/SelectioB.h>
 # include <Xm/PushBG.h>
+# include <Xm/List.h>
+# include <Xm/Text.h>
 
 # include "mut.h"
 # include "mph.h"
@@ -66,6 +68,9 @@
 # include "GME_modify.h"
 # include "GME_search.h"
 # include "GME_select.h"
+
+extern void DrealEditSelectAccept();
+extern void DrealEditSelectCancel();
 
 /*------------------------------------------------------------\
 |                                                             |
--- dreal/src/GME_search.c	2002-09-30 12:20:07
+++ dreal/src/GME_search.c	2026-05-01 10:31:02
@@ -66,6 +66,8 @@
 # include "GME_edit.h"
 # include "GME_message.h"
 
+extern void DrealLimitedLoop(Widget);
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
--- dreal/src/GME_select.c	2002-09-30 12:20:07
+++ dreal/src/GME_select.c	2026-05-01 10:31:02
@@ -60,10 +60,15 @@
 # include "GSB.h"
 # include "GME.h"
 # include "GMT.h"
+# include "GMV.h"
 
 # include "GME_select.h"
 # include "GME_message.h"
 
+extern void DrealLimitedLoop(Widget);
+extern void DrealFreeSelect(drealselect *);
+extern void DrealDisplaySelectList(char *);
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
@@ -111,7 +116,7 @@
   if ( IsRdsInstance( Rectangle ) )
   {
     sprintf( DrealSelectBuffer,
-    "  INSTANCE %s : %s", Rectangle->NAME );
+    "  INSTANCE : %s", Rectangle->NAME );
   }
   else
   if ( IsRdsFigure( Rectangle ) )
--- dreal/src/GMF_dialog.c	2002-09-30 12:20:07
+++ dreal/src/GMF_dialog.c	2026-05-01 10:31:02
@@ -62,6 +62,7 @@
 
 # include "GMF_dialog.h"
 # include "GMF_file.h"
+# include "GMF_menu.h"
 
 /*------------------------------------------------------------\
 |                                                             |
--- dreal/src/GMF_file.c	2002-09-30 12:20:07
+++ dreal/src/GMF_file.c	2026-05-01 10:31:02
@@ -59,8 +59,11 @@
 # include "GTB.h"
 # include "GSB.h"
 # include "GMF.h"
+# include "GMV.h"
 
 # include "GMF_file.h"
+
+extern void DrealDisplayToolsMessage();
 
 /*------------------------------------------------------------\
 |                                                             |
--- dreal/src/GMF_panel.c	2002-09-30 12:20:07
+++ dreal/src/GMF_panel.c	2026-05-01 10:31:02
@@ -70,6 +70,8 @@
 # include "GMF_panel.h"
 # include "GMF_dialog.h"
 
+extern void DrealLimitedLoop(Widget);
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
--- dreal/src/GMH_panel.c	2004-07-29 06:10:52
+++ dreal/src/GMH_panel.c	2026-05-01 10:31:02
@@ -68,6 +68,8 @@
 # include "GMH_panel.h" 
 # include "LIP6bw.h"
 
+extern void DrealLimitedLoop(Widget);
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
--- dreal/src/GMS_menu.c	2002-09-30 12:20:08
+++ dreal/src/GMS_menu.c	2026-05-01 10:31:02
@@ -56,6 +56,7 @@
 
 # include "GMS_menu.h"
 # include "GMS_setup.h"
+# include "GMS_panel.h"
 
 /*------------------------------------------------------------\
 |                                                             |
--- dreal/src/GMS_panel.c	2002-09-30 12:20:08
+++ dreal/src/GMS_panel.c	2026-05-01 10:31:02
@@ -48,6 +48,7 @@
 # include <Xm/FileSB.h>
 # include <Xm/SelectioB.h>
 # include <Xm/PushBG.h>
+# include <Xm/Text.h>
 
 # include "mut.h"
 # include "mph.h"
@@ -60,6 +61,8 @@
 # include "GMS.h"
 
 # include "GMS_panel.h"
+
+extern void DrealLimitedLoop(Widget);
 
 /*------------------------------------------------------------\
 |                                                             |
--- dreal/src/GMS_setup.c	2002-09-30 12:20:08
+++ dreal/src/GMS_setup.c	2026-05-01 10:31:02
@@ -62,6 +62,7 @@
 # include "GMH.h"
 
 # include "GMS_setup.h"
+# include "GMV_panel.h"
 
 /*------------------------------------------------------------\
 |                                                             |
--- dreal/src/GMT_panel.c	2002-09-30 12:20:08
+++ dreal/src/GMT_panel.c	2026-05-01 10:31:02
@@ -48,6 +48,7 @@
 # include <Xm/FileSB.h>
 # include <Xm/SelectioB.h>
 # include <Xm/PushBG.h>
+# include <Xm/Text.h>
 
 # include "mut.h"
 # include "mph.h"
--- dreal/src/GMT_tools.c	2002-09-30 12:20:08
+++ dreal/src/GMT_tools.c	2026-05-01 10:31:02
@@ -59,6 +59,7 @@
 # include "GMX.h"
 # include "GRD.h"
 # include "GMT.h"
+# include "GMV.h"
 
 # include "GMT_tools.h"
 # include "GMT_message.h"
--- dreal/src/GMV_menu.c	2002-09-30 12:20:08
+++ dreal/src/GMV_menu.c	2026-05-01 10:31:02
@@ -60,6 +60,7 @@
 # include "GMV_dialog.h"
 # include "GMV_view.h"
 # include "GMV_map.h"
+# include "GMV_panel.h"
 
 /*------------------------------------------------------------\
 |                                                             |
--- dreal/src/GMV_view.c	2002-09-30 12:20:08
+++ dreal/src/GMV_view.c	2026-05-01 10:31:02
@@ -58,6 +58,8 @@
 
 # include "GMV_view.h"
 
+extern void DrealInitializeLambdaGrid();
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
--- dreal/src/GMX_dialog.c	2002-09-30 12:20:09
+++ dreal/src/GMX_dialog.c	2026-05-01 10:31:02
@@ -61,6 +61,8 @@
 # include "GMS.h"
 # include "GMH.h"
 # include "GMX.h"
+# include "GMC.h"
+# include "GME.h"
 
 # include "GMX_dialog.h"
 
--- dreal/src/GMX_event.c	2004-07-29 12:57:38
+++ dreal/src/GMX_event.c	2026-05-01 10:31:02
@@ -60,11 +60,17 @@
 # include "GMV.h"
 # include "GMS.h"
 # include "GMH.h"
+# include "GMC.h"
+# include "GME.h"
+# include "GMT.h"
 # include "GMX_motif.h"
 # include "GMX_grid.h"
 # include "GMX_cursor.h"
 # include "GMX_event.h"
 # include "GMX_message.h"
+
+extern void DrealInitializeGraphicWindow();
+extern void DrealEditSelectPointStretch(long, long);
 
 /*------------------------------------------------------------\
 |                                                             |
--- dreal/src/GMX_graphic.c	2002-09-30 12:20:09
+++ dreal/src/GMX_graphic.c	2026-05-01 10:31:02
@@ -61,6 +61,9 @@
 # include "GMX_view.h"
 # include "GMX_grid.h"
 
+extern void DrealInitializeLambdaGrid();
+extern char DrealDisplayLambdaGrid(long, long, long, long);
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
--- dreal/src/GMX_motif.c	2002-09-30 12:20:09
+++ dreal/src/GMX_motif.c	2026-05-01 10:31:02
@@ -57,6 +57,9 @@
 # include "GSB.h"
 # include "GMX.h"
 # include "GMS.h"
+# include "GME.h"
+# include "GMF.h"
+# include "GMV.h"
 
 # include "GMX_motif.h"
 # include "GMX_graphic.h" 
@@ -66,6 +69,8 @@
 # include "GMX_color.h" 
 # include "GMX_panel.h"
 # include "GMX_dialog.h"
+
+extern void DrealInitializePanel();
 
 /*------------------------------------------------------------\
 |                                                             |
--- dreal/src/GRD_error.c	2002-09-30 12:20:09
+++ dreal/src/GRD_error.c	2026-05-01 10:31:02
@@ -44,6 +44,7 @@
 
 # include <stdio.h>
 # include <stdlib.h>
+# include <string.h>
 # include <signal.h>
 # include <setjmp.h>
 # include "mut.h"
@@ -55,6 +56,7 @@
 # include "GSB.h" 
 # include "GRD.h"
 # include "GRD_error.h"
+# include "GMF_menu.h"
 
 /*------------------------------------------------------------\
 |                                                             |
--- dreal/src/GSB_parse.c	2002-09-30 12:20:10
+++ dreal/src/GSB_parse.c	2026-05-01 10:31:02
@@ -56,6 +56,8 @@
 # include "GSB_error.h"
 # include "GSB_parse.h"
 
+extern void GsbError(char, char *, long);
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
@@ -227,7 +229,7 @@
   int   Size;
 {
   register char *RegisterString;
-  register       Register;
+  register int   Register;
 
   rdsbegin();
 
@@ -641,7 +643,7 @@
 
       if (! SecondWord )
       {
-        GsbError( MISSING_VALUE, SecondWord );
+        GsbError( MISSING_VALUE, SecondWord, 0 );
       }
 
       if ( FirstWord == LowerGridStepKeyword )
@@ -709,7 +711,7 @@
     {
       if (!( FirstWord = GsbGetNextWord(1, 1)))
       {
-        GsbError( MISSING_NAME, TableKeyword );
+        GsbError( MISSING_NAME, TableKeyword, 0 );
       }
 
       if ( FirstWord == RdsLayerNameKeyword )
--- dreal/src/GTB_cursor.c	2002-09-30 12:20:10
+++ dreal/src/GTB_cursor.c	2026-05-01 10:31:02
@@ -46,6 +46,7 @@
 # include <stdio.h>
 # include <X11/cursorfont.h>
 # include <X11/Intrinsic.h>
+# include <Xm/Display.h>
 # include "mut.h"
 # include "rds.h"
 # include "GTB.h"
--- dreal/src/GTB_dialog.c	2004-07-29 05:16:01
+++ dreal/src/GTB_dialog.c	2026-05-01 10:31:02
@@ -53,6 +53,8 @@
 # include "GTB.h"
 # include "GTB_dialog.h"
 
+extern void DrealExitErrorMessage(int);
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
@@ -69,7 +71,7 @@
 |                                                             |
 \------------------------------------------------------------*/
   
-  static DrealLockLoop = 0;
+  static int DrealLockLoop = 0;
 
   static DrealDialogItem DrealWarningDialog =
 
--- dreal/src/dreal.c	2002-09-30 12:20:10
+++ dreal/src/dreal.c	2026-05-01 10:31:02
@@ -60,6 +60,10 @@
 
 # include "dreal.h"
 
+extern void rdsenv();
+extern void DrealInitializeWindow();
+extern void DrealInitializeErrorMessage(char);
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
--- druc/src/defdefin.c	2002-03-29 12:39:32
+++ druc/src/defdefin.c	2026-05-01 10:31:02
@@ -35,6 +35,13 @@
 #include "definclu.h"
 #include "defresiz.h"
 #include "defdefin.h"
+
+extern void DrucBuiltLayerWindow(rdsfig_list *, rdswindow *, int);
+extern void DrucDestroyLayerWindow(rdsfig_list *, rdswindow *, int);
+extern void DrucDefineUnion(rdsfig_list *, rdswindow *, DrucTypeStructInstruction *);
+extern void DrucComputeEquiLayer(rdsfig_list *, int);
+extern void DrucUnifyLayer(rdsfig_list *, rdswindow *, int);
+
 /*------------------------------------------------------------\
 |                                                             |
 |                       DefDefin  Fonctions                   |
--- druc/src/defexclu.c	2002-03-29 12:39:32
+++ druc/src/defexclu.c	2026-05-01 10:31:02
@@ -30,6 +30,10 @@
 #include "vmctools.h"
 #include "deftools.h"
 #include "defexclu.h"
+
+extern void DrucCalculOperationUnaire(rdswindow *, DrucTypeStructInstruction *,
+                                      rdsrec_list *, long *, long *, long *, long *);
+
 /*------------------------------------------------------------\
 |                                                             |
 |                       DefExclu  Fonctions                   |
--- druc/src/drucbath.c	2004-07-27 15:26:06
+++ druc/src/drucbath.c	2026-05-01 10:31:02
@@ -40,6 +40,15 @@
 #include "vmcunify.h"
 #include "drucring.h"
 #include "drucbath.h"
+
+extern void DrucDelLayer(rdsfig_list *, int);
+extern void DrucComputeEquiFigure(rdsfig_list *);
+extern void DrucFlattenInstanceRings(rdsfig_list *);
+extern void DrucOpenErrorFile(char *, char *);
+extern void DrucCloseErrorFile();
+extern void DrucViewNumber(long);
+extern void DrucCreateCouron(rdsfig_list *, rdswindow *, char *);
+
 /*------------------------------------------------------------\
 |                                                             |
 |                          Variables                          |
--- druc/src/drucgral.c	2002-03-29 12:39:32
+++ druc/src/drucgral.c	2026-05-01 10:31:02
@@ -39,6 +39,8 @@
 #include "vmcunify.h"
 #include "drucmin.h"
 
+extern void DrucComputeEquiLayer(rdsfig_list *, int);
+
 /*------------------------------------------------------------\
 |                                                             |
 |                          Variables                          |
--- druc/src/drucmin.c	2002-03-29 12:39:32
+++ druc/src/drucmin.c	2026-05-01 10:31:02
@@ -37,6 +37,8 @@
 #include "vmcrelat.h"
 #include "drucmin.h"
 
+extern void DrucViewNumber(long);
+
 /*------------------------------------------------------------\
 |                                                             |
 |                          Variables                          |
--- druc/src/drucompi.c	2005-04-15 04:38:48
+++ druc/src/drucompi.c	2026-05-01 10:31:02
@@ -25,6 +25,11 @@
 #include "drucutil.h"
 #include "vmctools.h"
 #include "drucompi.h"
+
+extern long RprTranslateParam(double);
+extern void DrucComputeCtm(DrucTypeStructInstruction *);
+extern void DrucDuplicateHierarchicalRule(DrucTypeStructInstruction **, int *);
+
 /*------------------------------------------------------------\
 |                                                             |
 |                  DRUCOMPI  variables                        |
--- druc/src/drucompi.h	2002-03-29 12:39:32
+++ druc/src/drucompi.h	2026-05-01 10:31:02
@@ -77,7 +77,7 @@
 |                  Druc Fonctions LEX/YACC                    |
 |                                                             |
 \------------------------------------------------------------*/
-extern      vrd_y_parse                      ();
+extern int  vrd_y_parse                      ();
 extern void vrd_y_error                      ();
 /*------------------------------------------------------------\
 |                                                             |
--- druc/src/drucompi_l.l	2002-03-29 12:39:32
+++ druc/src/drucompi_l.l	2026-05-01 10:31:02
@@ -1,8 +1,12 @@
 %{
+#include <ctype.h>
+
 #include "mut.h"
 #include "drucompi_y.h"
 #include "drucutil.h"
 #include "drucompi.h"
+
+extern void DrucViewString(const char *);
  
 #ifdef FLEX_SCANNER
 
@@ -176,7 +180,7 @@
 
 %%
 
-void DrucEcho ( text )
+void DrucEcho (const char *text)
 {
   if ( DrucStructStat.FLAG_VIEW_RULE_MODE == DRUC_VERBOSE
      )
--- druc/src/drucompi_y.y	2002-03-29 12:39:32
+++ druc/src/drucompi_y.y	2026-05-01 10:31:02
@@ -11,6 +11,14 @@
 #include "drucutil.h"
 #include "drucompi.h"
 
+int yylex();
+extern long RprTranslateParam(double);
+extern void DrucInitOpUnaire();
+extern void DrucLoadInstructionRegle();
+extern void DrucInitDefineValeur(long);
+extern void DrucLoadInstructionUndefine();
+extern void DrucLoadInstructionDefine();
+
 /*------------------------------------------------------------\
 |                                                             |
 |                  Druc MODIFICATIONS                         |
--- druc/src/drucring.c	2002-03-29 12:39:32
+++ druc/src/drucring.c	2026-05-01 10:31:02
@@ -29,6 +29,9 @@
 #include "vmctools.h"
 #include "druchier.h"
 #include "drucring.h"
+
+extern int DrucAsTransparenceEquivalent(int);
+
 /*------------------------------------------------------------\ 
 |                                                             |
 |                         DRUCRING Variables                  |
--- druc/src/drucutil.c	2002-03-29 12:39:32
+++ druc/src/drucutil.c	2026-05-01 10:31:02
@@ -218,6 +218,7 @@
                   )
      boolean        Flatten;
      boolean        Verbose;	
+     boolean        View_Rules;
      boolean        FileType;
 
  {
--- druc/src/vmcaract.c	2002-03-29 12:39:33
+++ druc/src/vmcaract.c	2026-05-01 10:31:02
@@ -31,6 +31,15 @@
 #include "vmcerror.h"
 #include "vmcmesur.h"
 #include "vmcaract.h"
+
+extern void DrucIsPositionInclusInEqui(DrucTypeStructMesure *, DrucTypeStructInstruction *,
+                                       int, long, long, long, long);
+extern boolean DrucIsPerimetreInclusInEqui(DrucTypeStructMesure *, DrucTypeStructInstruction *,
+                                           int, long, long, long, long);
+extern boolean DrucIsRectanglesContact(rdsrec_list *, rdsrec_list *);
+extern void DrucMesureInter(DrucTypeStructMesure *, DrucTypeStructInstruction *,
+                            int, long);
+
 /*------------------------------------------------------------\
 |                                                             |
 |                          Functions                          |
--- druc/src/vmcasmld.c	2002-05-11 13:03:36
+++ druc/src/vmcasmld.c	2026-05-01 10:31:02
@@ -30,6 +30,9 @@
 #include "druchier.h"
 #include "vmcasmld.h"
 
+extern void DrucInitStructLayers();
+extern void DrucAddABoxRules(DrucTypeStructInstruction **, int *);
+
 /*------------------------------------------------------------\
 |                                                             |
 |                  DRUCVMC   variables                        |
--- druc/src/vmcmesur.c	2002-03-29 12:39:33
+++ druc/src/vmcmesur.c	2026-05-01 10:31:02
@@ -30,6 +30,10 @@
 #include "vmctools.h"
 #include "vmcerror.h"
 #include "vmcmesur.h"
+
+extern void DrucIsPositionInclusInEqui(DrucTypeStructMesure *, DrucTypeStructInstruction *,
+                                       int, long, long, long, long);
+
 /*------------------------------------------------------------\
 |                                                             |
 |                          Variables                          |
--- druc/src/vmcrelat.c	2002-03-29 12:39:33
+++ druc/src/vmcrelat.c	2026-05-01 10:31:02
@@ -34,6 +34,12 @@
 #include "vmcasmld.h"
 #include "vmcmesur.h"
 #include "vmcrelat.h"
+
+extern void DrucMesureInter(DrucTypeStructMesure *, DrucTypeStructInstruction *,
+                            int, long);
+extern void DrucRelationTesteDistance(DrucTypeStructMesure *, DrucTypeStructInstruction *,
+                                      int, long);
+
 /*------------------------------------------------------------\
 |                                                             |
 |                          Fonctions                          |
--- druc/src/vmcunify.c	2002-03-29 12:39:33
+++ druc/src/vmcunify.c	2026-05-01 10:31:02
@@ -37,7 +37,10 @@
 #include "vmctools.h"
 #include "vmcerror.h"
 #include "vmcunify.h"
- 
+
+extern boolean DrucIsRectanglesContact(rdsrec_list *, rdsrec_list *);
+extern void DrucComputeEquiFigure(rdsfig_list *);
+
 /*------------------------------------------------------------\
 |                                                             |
 |                         Fonctions                           |
--- elp/src/elp.c	2002-06-12 08:54:39
+++ elp/src/elp.c	2026-05-01 10:31:02
@@ -18,6 +18,8 @@
 #include <stdlib.h>
 #include "elp.h"
 
+extern int elpyyparse();
+
 extern FILE *elpyyin                                                          ;
 char   elpTechnoName[elpSTRINGSIZE]                                        ;
 char   elpTechnoFile[elpSTRINGSIZE]                                       ;
@@ -47,7 +49,7 @@
 /* -------------------                                                       */
 /*    Aucun!                                                                */
 /*****************************************************************************/
-elpFCT elpenv()
+elpFCT int elpenv(void)
 {
   char  Buffer[ 512 ];
 
--- elp/src/elp_y.y	2002-04-18 09:59:12
+++ elp/src/elp_y.y	2026-05-01 10:31:02
@@ -1,5 +1,8 @@
 %{
 #include "elp.h"
+
+extern int yylex(void);
+int yyerror(char *);
 %}
 
 %union {
@@ -100,12 +103,12 @@
 extern int  yylineno ;
 extern char yytext[] ;
 
-yyerror()
+int yyerror(char *)
 
 {
 elpError(1001,yytext,yylineno) ; /* si erreur de syntaxe => erreur 1001 */
 }
 
 
-yywrap() {return 1 ;}
+int yywrap() {return 1 ;}
 
--- exp/src/expy.y	2011-02-06 09:37:33
+++ exp/src/expy.y	2026-05-01 10:31:02
@@ -1,10 +1,15 @@
 %{
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include <math.h>
 #include "exp.h"
 #include "ht.h"
 #include "expy.h"
+
+int yylex();
+int yyerror(char *);
+extern void htstat(ht_t *);
 
 #define VERBOSE        (int)((htget(dico, "verbose")->VAL.f+EPSILON))
 #define EPSILON        0.00001
--- flatlo/src/flatlo.c	2005-05-11 04:05:32
+++ flatlo/src/flatlo.c	2026-05-01 10:33:03
@@ -27,10 +27,9 @@
 #include <stdlib.h>
 #include "mut.h"
 #include "mlo.h"
+#include "mlu.h"
 
-
-usage(progname)
-char *progname;
+void usage(char *progname)
 {
 	fprintf(stderr, "usage : %s logical_figure instance output_name\n",
 				progname);
@@ -42,9 +41,7 @@
 	EXIT(1);
 }
 
-main(argc, argv)
-int argc;
-char **argv;
+int main(int argc, char **argv)
 {
 lofig_list *p;
 
--- flatph/src/flatph.c	2002-09-30 12:20:13
+++ flatph/src/flatph.c	2026-05-01 10:31:02
@@ -23,11 +23,12 @@
 
 #ident "$Id: flatph.c,v 1.2 2002/09/30 16:20:13 czo Exp $"
 #include <stdio.h>
+#include <string.h>
 #include "mut.h"
 #include "mph.h"
+#include "mbk_ph_util.h"
 
-usage(progname)
-char *progname;
+void usage(char *progname)
 {
 	fprintf(stderr, "usage : %s physical_figure instance output_name\n", progname);
 	fputs("        flatten the instance in the physical_figure\n", stderr);
@@ -38,9 +39,7 @@
 	EXIT(1);
 }
 
-main(argc, argv)
-int argc;
-char **argv;
+int main(int argc, char **argv)
 {
 phfig_list *p;
 
--- genlib/src/dpgen_Nul.c	2009-06-14 09:51:43
+++ genlib/src/dpgen_Nul.c	2026-05-01 10:31:02
@@ -258,7 +258,7 @@
 
 
   offset     = 0;
-  depthNext  = get_depth (LV_N, NULL);
+  depthNext  = get_depth (LV_N, 0);
 
   do {
     depth     = depthNext;
@@ -398,7 +398,7 @@
 
 
   offset     = 0;
-  depthNext  = get_depth (LV_N, NULL);
+  depthNext  = get_depth (LV_N, 0);
 
   do {
     depth     = depthNext;
--- genlib/src/genlib.c	2009-06-14 09:51:43
+++ genlib/src/genlib.c	2026-05-01 10:31:02
@@ -73,6 +73,8 @@
 #include "mgn.h"
 static char rcsid[] = "$Id: genlib.c,v 1.13 2009/06/14 13:51:43 ludo Exp $";
 
+extern void debuglogen(logen_list *, int);
+
 /*******************************************************************************
 * global variables used in genlib                                              *
 *******************************************************************************/
--- graal/src/GMC_create.c	2004-08-26 16:14:11
+++ graal/src/GMC_create.c	2026-05-01 10:31:02
@@ -57,6 +57,8 @@
 # include "GTB.h"
 # include "GSB.h"
 # include "GMC.h"
+# include "GMV.h"
+# include "GMT.h"
 
 # include "GMC_create.h"
 # include "GMC_dialog.h"
@@ -357,8 +359,8 @@
 
 void GraalCreateBigViaMbk( LambdaX1, LambdaY1, LambdaX2, LambdaY2 )
 
-   long LambdaX1;
-   long LambdaY1;
+   long LambdaX1, LambdaX2;
+   long LambdaY1, LambdaY2;
 {
   rdsrec_list *Rectangle;
   phvia_list  *Via;
--- graal/src/GME.h	2002-09-30 12:20:33
+++ graal/src/GME.h	2026-05-01 10:31:02
@@ -93,7 +93,7 @@
 |                                                             |
 \------------------------------------------------------------*/
 
-  extern void GraalBuidlPanelModify();
+  extern void GraalBuildPanelModify();
   extern void GraalBuildEditDialog();
 
   extern void GraalEditSelectPointDelete();
--- graal/src/GME_dialog.c	2004-08-26 16:14:12
+++ graal/src/GME_dialog.c	2026-05-01 10:31:02
@@ -62,9 +62,13 @@
 # include "GME.h"
 
 # include "GME_dialog.h"
+# include "GME_message.h"
 # include "GME_modify.h"
 # include "GME_search.h"
 # include "GME_edit.h"
+
+extern void GraalPromptModifyInstance();
+extern void GraalEditSearchVia(char *);
 
 /*------------------------------------------------------------\
 |                                                             |
--- graal/src/GME_edit.c	2004-08-26 16:14:12
+++ graal/src/GME_edit.c	2026-05-01 10:31:02
@@ -59,6 +59,8 @@
 # include "GTB.h"
 # include "GSB.h"
 # include "GME.h"
+# include "GMT.h"
+# include "GMV.h"
 
 # include "GME_edit.h"
 # include "GME_panel.h"
--- graal/src/GME_modify.c	2004-08-26 16:14:12
+++ graal/src/GME_modify.c	2026-05-01 10:31:02
@@ -58,11 +58,16 @@
 # include "GMX.h"
 # include "GTB.h"
 # include "GME.h"
+# include "GMT.h"
+# include "GMV.h"
 
 # include "GME_modify.h"
 # include "GME_panel.h"
 # include "GME_edit.h"
 # include "GME_message.h"
+
+extern void GraalLimitedLoop(Widget);
+extern void GraalPromptModifyInstance();
 
 /*------------------------------------------------------------\
 |                                                             |
--- graal/src/GME_panel.c	2009-06-14 09:51:44
+++ graal/src/GME_panel.c	2026-05-01 10:31:02
@@ -48,6 +48,8 @@
 # include <Xm/FileSB.h>
 # include <Xm/SelectioB.h>
 # include <Xm/PushBG.h>
+# include <Xm/Text.h>
+# include <Xm/List.h>
 
 # include "mut.h"
 # include "mph.h"
@@ -66,6 +68,10 @@
 # include "GME_modify.h"
 # include "GME_search.h"
 # include "GME_select.h"
+
+extern void GraalPromptModifyInstance();
+extern void GraalEditSelectAccept();
+extern void GraalEditSelectCancel();
 
 /*------------------------------------------------------------\
 |                                                             |
--- graal/src/GME_search.c	2002-09-30 12:20:34
+++ graal/src/GME_search.c	2026-05-01 10:31:02
@@ -66,6 +66,8 @@
 # include "GME_edit.h"
 # include "GME_message.h"
 
+extern void GraalLimitedLoop(Widget);
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
--- graal/src/GME_select.c	2002-09-30 12:20:34
+++ graal/src/GME_select.c	2026-05-01 10:31:02
@@ -60,9 +60,14 @@
 # include "GSB.h"
 # include "GME.h"
 # include "GMT.h"
+# include "GMV.h"
 
 # include "GME_select.h"
 # include "GME_message.h"
+# include "GME_panel.h"
+
+extern void GraalLimitedLoop(Widget);
+extern void GraalFreeSelect(graalselect *);
 
 /*------------------------------------------------------------\
 |                                                             |
--- graal/src/GMF_dialog.c	2002-09-30 12:20:34
+++ graal/src/GMF_dialog.c	2026-05-01 10:31:02
@@ -67,6 +67,7 @@
 
 # include "GMF_dialog.h"
 # include "GMF_file.h"
+# include "GMF_menu.h"
 
 /*------------------------------------------------------------\
 |                                                             |
--- graal/src/GMF_file.c	2002-09-30 12:20:34
+++ graal/src/GMF_file.c	2026-05-01 10:31:02
@@ -59,6 +59,8 @@
 # include "GTB.h"
 # include "GSB.h"
 # include "GMF.h"
+# include "GMT.h"
+# include "GMV.h"
 
 # include "GMF_file.h"
 
--- graal/src/GMF_panel.c	2002-09-30 12:20:34
+++ graal/src/GMF_panel.c	2026-05-01 10:31:02
@@ -72,6 +72,8 @@
 # include "GMC_dialog.h"
 # include "GMT_dialog.h"
 
+extern void GraalLimitedLoop(Widget);
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
--- graal/src/GMH_panel.c	2004-07-29 06:10:52
+++ graal/src/GMH_panel.c	2026-05-01 10:31:02
@@ -68,6 +68,8 @@
 # include "GMH_panel.h" 
 # include "LIP6bw.h" 
 
+extern void GraalLimitedLoop(Widget);
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
--- graal/src/GMS_panel.c	2002-09-30 12:20:35
+++ graal/src/GMS_panel.c	2026-05-01 10:31:02
@@ -48,6 +48,7 @@
 # include <Xm/FileSB.h>
 # include <Xm/SelectioB.h>
 # include <Xm/PushBG.h>
+# include <Xm/Text.h>
 
 # include "mut.h"
 # include "mph.h"
@@ -60,6 +61,8 @@
 # include "GMS.h"
 
 # include "GMS_panel.h"
+
+extern void GraalLimitedLoop(Widget);
 
 /*------------------------------------------------------------\
 |                                                             |
--- graal/src/GMS_setup.c	2002-09-30 12:20:35
+++ graal/src/GMS_setup.c	2026-05-01 10:31:02
@@ -61,6 +61,7 @@
 # include "GMS.h"
 # include "GMH.h"
 
+# include "GMV_panel.h"
 # include "GMS_setup.h"
 
 /*------------------------------------------------------------\
--- graal/src/GMT_druc.c	2002-09-30 12:20:36
+++ graal/src/GMT_druc.c	2026-05-01 10:31:02
@@ -57,10 +57,15 @@
 # include "GMX.h"
 # include "GRM.h"
 # include "GMT.h"
+# include "GMV.h"
+# include "GME.h"
 
 # include "GMT_druc.h"
 # include "GMT_panel.h"
 # include "GMT_message.h"
+
+extern void GraalFreeSelect(graalselect *);
+extern void GraalDisplayDrucMessage(char *);
 
 /*------------------------------------------------------------\
 |                                                             |
--- graal/src/GMT_panel.c	2002-09-30 12:20:36
+++ graal/src/GMT_panel.c	2026-05-01 10:31:02
@@ -48,6 +48,7 @@
 # include <Xm/FileSB.h>
 # include <Xm/SelectioB.h>
 # include <Xm/PushBG.h>
+# include <Xm/Text.h>
 
 # include "mut.h"
 # include "mph.h"
@@ -59,12 +60,16 @@
 # include "GTB.h"
 # include "GSB.h"
 # include "GMT.h"
+# include "GMV.h"
 
 # include "GMT_panel.h"
 # include "GMT_message.h"
 # include "GMT_dialog.h"
 # include "GMT_tools.h"
 # include "GMT_druc.h"
+
+extern void GraalToolsDrucNextError();
+extern void GraalToolsDrucAbortError();
 
 /*------------------------------------------------------------\
 |                                                             |
--- graal/src/GMT_tools.c	2004-08-26 16:14:12
+++ graal/src/GMT_tools.c	2026-05-01 10:31:02
@@ -62,9 +62,16 @@
 # include "GMF.h"
 # include "GRM.h"
 # include "GMT.h"
+# include "GMV.h"
 
 # include "GMT_tools.h"
 # include "GMT_message.h"
+# include "GMT_panel.h"
+# include "GMF_menu.h"
+# include "GRM_window.h"
+
+extern void GraalFileOpen(char *, int);
+extern void GraalFreeSelect(graalselect *);
 
 /*------------------------------------------------------------\
 |                                                             |
--- graal/src/GMV_menu.c	2002-09-30 12:20:36
+++ graal/src/GMV_menu.c	2026-05-01 10:31:02
@@ -60,6 +60,7 @@
 # include "GMV_dialog.h"
 # include "GMV_view.h"
 # include "GMV_map.h"
+# include "GMV_panel.h"
 
 /*------------------------------------------------------------\
 |                                                             |
--- graal/src/GMV_view.c	2002-09-30 12:20:37
+++ graal/src/GMV_view.c	2026-05-01 10:31:02
@@ -59,6 +59,8 @@
 
 # include "GMV_view.h"
 
+extern void GraalInitializeLambdaGrid();
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
--- graal/src/GMX_event.c	2004-12-15 04:44:00
+++ graal/src/GMX_event.c	2026-05-01 10:31:02
@@ -61,11 +61,18 @@
 # include "GMS.h"
 # include "GME.h"
 # include "GMH.h"
+# include "GMC.h"
+# include "GMT.h"
 # include "GMX_motif.h"
 # include "GMX_grid.h"
 # include "GMX_cursor.h"
 # include "GMX_event.h"
 # include "GMX_message.h"
+
+extern void GraalInitializeGraphicWindow();
+extern void GraalEditSelectPointStretch(long, long);
+extern void GraalEditSelectWindowStretch(long, long, long, long);
+extern void GraalToolsDruc(long, long, long, long);
 
 /*------------------------------------------------------------\
 |                                                             |
--- graal/src/GMX_graphic.c	2002-09-30 12:20:37
+++ graal/src/GMX_graphic.c	2026-05-01 10:31:02
@@ -61,6 +61,9 @@
 # include "GMX_view.h"
 # include "GMX_grid.h"
 
+extern void GraalInitializeLambdaGrid();
+extern char GraalDisplayLambdaGrid(long, long, long, long);
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
--- graal/src/GMX_motif.c	2002-09-30 12:20:38
+++ graal/src/GMX_motif.c	2026-05-01 10:31:02
@@ -57,6 +57,8 @@
 # include "GSB.h"
 # include "GMX.h"
 # include "GMS.h"
+# include "GMF.h"
+# include "GMV.h"
 
 # include "GMX_motif.h"
 # include "GMX_graphic.h" 
@@ -66,6 +68,8 @@
 # include "GMX_color.h" 
 # include "GMX_panel.h"
 # include "GMX_dialog.h"
+
+extern void GraalInitializePanel();
 
 /*------------------------------------------------------------\
 |                                                             |
--- graal/src/GRM_equi.c	2002-09-30 12:20:39
+++ graal/src/GRM_equi.c	2026-05-01 10:31:02
@@ -52,6 +52,7 @@
 # include "GRM.h"
 # include "GSB.h"
 # include "GRM_equi.h"
+# include "GRM_window.h"
 
 /*------------------------------------------------------------\
 |                                                             |
--- graal/src/GRM_error.c	2004-08-26 16:14:12
+++ graal/src/GRM_error.c	2026-05-01 10:31:02
@@ -44,6 +44,7 @@
 
 # include <stdio.h>
 # include <stdlib.h>
+# include <string.h>
 # include <signal.h>
 # include <setjmp.h>
 # include "mut.h"
@@ -55,6 +56,7 @@
 # include "GSB.h" 
 # include "GRM.h"
 # include "GRM_error.h"
+# include "GMF_menu.h"
 
 /*------------------------------------------------------------\
 |                                                             |
--- graal/src/GRM_mbkrds.c	2002-09-30 12:20:39
+++ graal/src/GRM_mbkrds.c	2026-05-01 10:31:02
@@ -61,6 +61,7 @@
 # include "GRM_error.h"
 # include "GRM_window.h"
 # include "GRM_mbkrds.h"
+# include "GRM_connector.h"
 
 /*------------------------------------------------------------\
 |                                                             |
--- graal/src/GRM_peek.c	2004-08-26 16:14:12
+++ graal/src/GRM_peek.c	2026-05-01 10:31:02
@@ -49,6 +49,7 @@
 # include "GRM.h"
 # include "GSB.h"
 # include "GRM_peek.h"
+# include "GRM_window.h"
 
 /*------------------------------------------------------------\
 |                                                             |
--- graal/src/GSB_parse.c	2004-08-26 16:14:12
+++ graal/src/GSB_parse.c	2026-05-01 10:31:03
@@ -55,6 +55,8 @@
 # include "GSB_error.h"
 # include "GSB_parse.h"
 
+extern void GsbError(char, char *, long);
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
@@ -328,7 +330,7 @@
   int   Size;
 {
   register char *RegisterString;
-  register       Register;
+  register int   Register;
 
   rdsbegin();
  
@@ -1512,7 +1514,7 @@
     {
       if (!( FirstWord = GsbGetNextWord(1, 1)))
       {
-        GsbError( MISSING_NAME, TableKeyword );
+        GsbError( MISSING_NAME, TableKeyword, 0 );
       }
 
       if ( FirstWord == ConnectorNameKeyword )
--- graal/src/GTB_cursor.c	2002-09-30 12:20:39
+++ graal/src/GTB_cursor.c	2026-05-01 10:31:03
@@ -46,6 +46,7 @@
 # include <stdio.h>
 # include <X11/cursorfont.h>
 # include <X11/Intrinsic.h>
+# include <Xm/Display.h>
 # include "mut.h"
 # include "rds.h"
 # include "GTB.h"
--- graal/src/GTB_dialog.c	2004-07-29 05:56:23
+++ graal/src/GTB_dialog.c	2026-05-01 10:31:03
@@ -54,6 +54,8 @@
 # include "GTB.h"
 # include "GTB_dialog.h"
 
+extern void GraalExitErrorMessage(int);
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
@@ -70,7 +72,7 @@
 |                                                             |
 \------------------------------------------------------------*/
   
-  static GraalLockLoop = 0;
+  static int GraalLockLoop = 0;
 
   static GraalDialogItem GraalWarningDialog =
 
--- graal/src/graal.c	2002-09-30 12:20:40
+++ graal/src/graal.c	2026-05-01 10:31:03
@@ -58,7 +58,11 @@
 # include "GRM.h"
 # include "GMX.h"
 
+# include "GRM_window.h"
 # include "graal.h"
+
+extern void rdsenv();
+extern void GraalInitializeErrorMessage(char);
 
 /*------------------------------------------------------------\
 |                                                             |
--- l2p/src/drive_ps.c	2005-02-17 10:34:44
+++ l2p/src/drive_ps.c	2026-05-01 10:31:03
@@ -204,8 +204,8 @@
 	};
 }
 
-extern rps_print_dict_color ();
-extern rps_print_dict_bw ();
+extern void rps_print_dict_color ();
+extern void rps_print_dict_bw ();
 /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
 void rps_put_psdict (pg)
 rps_pge	*pg;
--- l2p/src/l2p.c	2002-09-30 12:20:42
+++ l2p/src/l2p.c	2026-05-01 10:31:03
@@ -56,6 +56,8 @@
 #include "rpr.h"
 #include "rfm.h"
 
+extern void rps_print_dict_bw(void *);
+extern void rps_print_dict_color(void *);
 extern void rps_print_man ();
 extern struct rps_param p;
 
--- l2p/src/tmp_dict.c	2002-06-19 12:43:20
+++ l2p/src/tmp_dict.c	2026-05-01 10:31:03
@@ -1,4 +1,4 @@
-extern rps_put();
+extern void rps_put();
 void rps_print_dict_bw (pg)
 void *pg;
 {
--- log/src/log.h	2009-06-14 09:51:47
+++ log/src/log.h	2026-05-01 10:31:03
@@ -306,7 +306,7 @@
   extern            void destroyCct __P((pCircuit pC));
   extern           pNode searchOutputCct __P((pCircuit pC, char *name));
   extern            void addOutputCct __P((pCircuit pC, char *name, pNode pt));
-  extern          char * searchIndexCct __P((pCircuit pC, short index));
+  extern          char * searchIndexCct __P((pCircuit pC, int index));
   extern           short searchInputCct __P((pCircuit pC, char *name));
   extern           short addInputCct __P((pCircuit pC, char *name));
   extern            void delInputCct __P((pCircuit pC, char *name));
@@ -316,7 +316,7 @@
   extern            void proofCct __P((pCircuit pC1, pCircuit pC2));
   extern           pNode ablToBddCct __P((pCircuit pC, chain_list *expr));
   extern            void cpOrderCct __P((pCircuit CC1, pCircuit CC2));
-  extern            void upVarCct __P((pCircuit pC, pNode ptOldIndex, short newIndex));
+  extern            void upVarCct __P((pCircuit pC, pNode ptOldIndex, int newIndex));
   extern             long numberNodeCct __P((pCircuit pC));
   extern             long numberNodeTdgCct __P((pCircuit pC));
   extern    chain_list * bddToAblCct __P((pCircuit pC, pNode pBdd));
--- log/src/log_bdd1.c	2009-06-14 09:51:47
+++ log/src/log_bdd1.c	2026-05-01 10:31:03
@@ -40,6 +40,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include "mut.h"
 #include "log.h"
 
@@ -174,7 +175,7 @@
 char *
 searchIndexCct (pC, index)
      pCircuit pC;
-     short index;
+     int index;
 {
   if (index <= pC->countI)
     return (*(pC->pNameI + index - 2));
@@ -326,7 +327,7 @@
   for (i = 0; i < (pC->pTI)->length; i++)
     {
       if (pEl->value != EMPTYTH && pEl->value != DELETETH)
-	printf ("INPUT = %s	INDEX = %d\n", pEl->key, pEl->value);
+	printf ("INPUT = %s	INDEX = %ld\n", pEl->key, pEl->value);
       pEl++;
     }
   printf ("\n-------------  NUMBER OF INPUTS : %d\n\n", (pC->countI) - 2);
@@ -346,7 +347,7 @@
 	  printf ("OUTPUT = %s", pEl->key);
 	  if (mode == 0)
 	    {
-	      printf ("	BDD = %d\n", pEl->value);
+	      printf ("	BDD = %ld\n", pEl->value);
 	      displayBddName (TRUE, (pNode)pEl->value, pC->pNameI);
 	    }
 	  else
@@ -600,7 +601,7 @@
 upVarCct (pC, ptOldIndex, newIndex)
      pCircuit pC;
      pNode ptOldIndex;
-     short newIndex;
+     int newIndex;
 {
   long i;
   pElemTH pEl;
--- loon/src/lon_lib_negativ.c	2006-03-29 12:10:14
+++ loon/src/lon_lib_negativ.c	2026-05-01 10:31:03
@@ -32,6 +32,7 @@
 #include <mut.h>
 #include <abl.h>
 #include <abe.h>
+#include <aut.h>
 #include "lon_lib_negativ.h"
 
 
@@ -61,30 +62,30 @@
 
    switch (ABL_OPER(abl)) {
       case ABL_AND: 
-         if (negativ) ABL_OPER_L(abl)=ABL_NAND;
-         else ABL_OPER_L(abl)=ABL_NOR;
+         if (negativ) ABL_OPER_L(abl)=(void *)ABL_NAND;
+         else ABL_OPER_L(abl)=(void *)ABL_NOR;
          negativ=!negativ;
          break;
       case ABL_NAND: 
-         if (negativ) ABL_OPER_L(abl)=ABL_NOR;
-         else ABL_OPER_L(abl)=ABL_NAND;
+         if (negativ) ABL_OPER_L(abl)=(void *)ABL_NOR;
+         else ABL_OPER_L(abl)=(void *)ABL_NAND;
          break;
       case ABL_OR:
-         if (negativ) ABL_OPER_L(abl)=ABL_NOR;
-         else ABL_OPER_L(abl)=ABL_NAND;
+         if (negativ) ABL_OPER_L(abl)=(void *)ABL_NOR;
+         else ABL_OPER_L(abl)=(void *)ABL_NAND;
          negativ=!negativ;
          break;
       case ABL_NOR:
-         if (negativ) ABL_OPER_L(abl)=ABL_NAND;
-         else ABL_OPER_L(abl)=ABL_NOR;
+         if (negativ) ABL_OPER_L(abl)=(void *)ABL_NAND;
+         else ABL_OPER_L(abl)=(void *)ABL_NOR;
          break;
       case ABL_XOR:
-         if (negativ) ABL_OPER_L(abl)=ABL_NXOR;
+         if (negativ) ABL_OPER_L(abl)=(void *)ABL_NXOR;
          negativ=0;
          /*nothing to do:  same size XOR and NXOR*/
          break;
       case ABL_NXOR:
-         if (negativ) ABL_OPER_L(abl)=ABL_XOR;
+         if (negativ) ABL_OPER_L(abl)=(void *)ABL_XOR;
          negativ=0;
          /*nothing to do*/
          break;
@@ -175,12 +176,12 @@
          continue;
       }
       switch (ABL_OPER(leaf)) {
-         case ABL_AND: ABL_OPER_L(leaf)=ABL_NAND; break; 
-         case ABL_OR: ABL_OPER_L(leaf)=ABL_NOR; break; 
-         case ABL_NAND: ABL_OPER_L(leaf)=ABL_AND; break; 
-         case ABL_NOR: ABL_OPER_L(leaf)=ABL_OR; break; 
-         case ABL_XOR: ABL_OPER_L(leaf)=ABL_NXOR; break; 
-         case ABL_NXOR: ABL_OPER_L(leaf)=ABL_XOR; break; 
+         case ABL_AND: ABL_OPER_L(leaf)=(void *)ABL_NAND; break;
+         case ABL_OR: ABL_OPER_L(leaf)=(void *)ABL_NOR; break;
+         case ABL_NAND: ABL_OPER_L(leaf)=(void *)ABL_AND; break;
+         case ABL_NOR: ABL_OPER_L(leaf)=(void *)ABL_OR; break;
+         case ABL_XOR: ABL_OPER_L(leaf)=(void *)ABL_NXOR; break;
+         case ABL_NXOR: ABL_OPER_L(leaf)=(void *)ABL_XOR; break;
          case ABL_NOT: 
             ABL_CAR_L(chain)=ABL_CADR(leaf);
             freechain(leaf);
@@ -192,12 +193,12 @@
    }
    
    switch (ABL_OPER(abl)) {
-      case ABL_AND: ABL_OPER_L(abl)=ABL_NOR; break; 
-      case ABL_OR: ABL_OPER_L(abl)=ABL_NAND; break; 
-      case ABL_NAND: ABL_OPER_L(abl)=ABL_OR; break; 
-      case ABL_NOR: ABL_OPER_L(abl)=ABL_AND; break; 
-      case ABL_XOR: ABL_OPER_L(abl)=ABL_NXOR; break; 
-      case ABL_NXOR: ABL_OPER_L(abl)=ABL_XOR; break; 
+      case ABL_AND: ABL_OPER_L(abl)=(void *)ABL_NOR; break;
+      case ABL_OR: ABL_OPER_L(abl)=(void *)ABL_NAND; break;
+      case ABL_NAND: ABL_OPER_L(abl)=(void *)ABL_OR; break;
+      case ABL_NOR: ABL_OPER_L(abl)=(void *)ABL_AND; break;
+      case ABL_XOR: ABL_OPER_L(abl)=(void *)ABL_NXOR; break;
+      case ABL_NXOR: ABL_OPER_L(abl)=(void *)ABL_XOR; break;
       case ABL_NOT: 
          chain=abl;
          abl=ABL_CADR(abl);
--- loon/src/lon_lib_reader.c	2004-09-06 17:26:09
+++ loon/src/lon_lib_reader.c	2026-05-01 10:31:03
@@ -37,6 +37,7 @@
 #include <abe.h>
 #include <mlu.h>
 #include <abv.h>
+#include <aut.h>
 #include "lon_normalize_register.h"
 #include "lon_normalize_DAG.h"
 #include "lon_normalize_simplify.h"
--- loon/src/lon_lib_specifications.c	2004-09-06 17:26:09
+++ loon/src/lon_lib_specifications.c	2026-05-01 10:31:03
@@ -32,6 +32,7 @@
 #include <mlo.h>
 #include <abl.h>
 #include <abe.h>
+#include <aut.h>
 #include "lon_lib_specifications.h"
 
 
--- loon/src/lon_normalize_DAG.c	2006-03-29 12:10:14
+++ loon/src/lon_normalize_DAG.c	2026-05-01 10:31:03
@@ -32,6 +32,7 @@
 #include <mut.h>
 #include <abl.h>
 #include <abe.h>
+#include <aut.h>
 #include <mlo.h>
 #include "lon_lax_param.h"
 #include "lon_normalize_message.h"
@@ -39,9 +40,9 @@
 
 
 #define USING(node) {(int)node=-mark;}
-#define USING_L(node) {node=-mark;}
+#define USING_L(node) {node=(struct bddnode *)-mark;}
 #define USED(node) {(int)node=(int)((((int)node<0)?0:(int)node)+1);}
-#define USED_L(node) {node=(int)((((int)node<0)?0:(int)node)+1);}
+#define USED_L(node) {node=(struct bddnode *)((((int)node<0)?0:(int)node)+1);}
 #define IS_USING(node) ((int)node==-mark)
 #define IS_USED(node) ((int)node!=0)
 #define IS_UNUSED(node) ((int)node==0)
--- loon/src/lon_normalize_message.c	2004-09-06 17:26:09
+++ loon/src/lon_normalize_message.c	2026-05-01 10:31:03
@@ -33,6 +33,7 @@
 #include <stdio.h>
 #include <mut.h>
 #include <abl.h>
+#include <aut.h>
 #include "lon_normalize_message.h"
 
 
--- loon/src/lon_normalize_register.c	2004-09-06 17:26:09
+++ loon/src/lon_normalize_register.c	2026-05-01 10:31:03
@@ -34,6 +34,7 @@
 #include <mut.h>
 #include <abl.h>
 #include <abe.h>
+#include <aut.h>
 #include "lon_normalize_message.h"
 #include "lon_normalize_register.h"
 
--- loon/src/lon_normalize_simplify.c	2006-03-29 12:10:14
+++ loon/src/lon_normalize_simplify.c	2026-05-01 10:31:03
@@ -32,6 +32,7 @@
 #include <mut.h>
 #include <abl.h>
 #include <abe.h>
+#include <aut.h>
 #include "lon_normalize_simplify.h"
 
 
@@ -57,13 +58,13 @@
    
    switch(ABL_OPER(abl)) {
    case ABL_NAND: 
-      ABL_OPER_L(abl)=ABL_AND;
+      ABL_OPER_L(abl)=(void *)ABL_AND;
       return createablnotexpr(abl);
    case ABL_NOR: 
-      ABL_OPER_L(abl)=ABL_OR;
+      ABL_OPER_L(abl)=(void *)ABL_OR;
       return createablnotexpr(abl);
    case ABL_NXOR: 
-      ABL_OPER_L(abl)=ABL_XOR;
+      ABL_OPER_L(abl)=(void *)ABL_XOR;
       return createablnotexpr(abl);
    default: return abl;         
    }
--- loon/src/lon_optim_stats.c	2004-09-06 17:26:09
+++ loon/src/lon_optim_stats.c	2026-05-01 10:31:03
@@ -33,6 +33,7 @@
 #include <mlo.h>
 #include <abl.h>
 #include <abe.h>
+#include <aut.h>
 #include "lon_lib_utils.h"
 #include "lon_signal_netlist.h"
 #include "lon_optim_stats.h"
--- loon/src/lon_xsch_driver.c	2004-09-07 17:16:11
+++ loon/src/lon_xsch_driver.c	2026-05-01 10:31:03
@@ -40,6 +40,7 @@
 #include <abl.h>
 #include <mlo.h>
 #include <abe.h>
+#include <aut.h>
 #include "lon_lib_utils.h"
 #include "lon_signal_utils.h"
 #include "lon_signal_netlist.h"
--- lvx/src/lvx.c	2004-05-22 10:26:08
+++ lvx/src/lvx.c	2026-05-01 10:31:03
@@ -100,8 +100,10 @@
 #include <stdio.h>
 #include <string.h>
 #include <signal.h>
+#include <time.h>
 #include <mut.h>
 #include <mlo.h>
+#include <mlu.h>
 
 #define  TRUE          1
 #define  FALSE         0
@@ -178,7 +180,7 @@
 /*****************************************************************************/
 
 /*===========================================================================*/
-          fatalerror (message)
+          void fatalerror (message)
 /*===========================================================================*/
 char *message;
 
@@ -727,7 +729,7 @@
 
 
 /*===========================================================================*/
-          mylofigchain (lofig)
+          void mylofigchain (lofig)
 /*===========================================================================*/
 lofig_list *lofig;
 
@@ -1338,7 +1340,7 @@
 
 
 /*===========================================================================*/
-          localstartid ( ptlocon, name1, name2)
+          void localstartid ( ptlocon, name1, name2)
 /*===========================================================================*/
 locon_list *ptlocon;
 char *name1, *name2;
@@ -1360,7 +1362,7 @@
 
 
 /*===========================================================================*/
-          reducepower (lofig1, lofig2)
+          void reducepower (lofig1, lofig2)
 /*===========================================================================*/
 lofig_list *lofig1, *lofig2;
 
@@ -1525,7 +1527,7 @@
 
 
 /*===========================================================================*/
-          order (lofig1, lofig2)
+          void order (lofig1, lofig2)
 /*===========================================================================*/
 lofig_list *lofig1, *lofig2;
 
@@ -1694,7 +1696,7 @@
 
 
 /*===========================================================================*/
-          readparamfile (lofig1, lofig2, filename)
+          void readparamfile (lofig1, lofig2, filename)
 /*===========================================================================*/
 lofig_list *lofig1, *lofig2;
 char *filename;
@@ -1730,7 +1732,7 @@
 
 
 /*===========================================================================*/
-          presentation ()
+          void presentation ()
 /*===========================================================================*/
 { char revision[100] ;
 
@@ -1749,7 +1751,7 @@
 }
 
 /*****************************************************************************/
-          main (argc, argv)
+          int main (argc, argv)
 /*****************************************************************************/
 int argc;
 char **argv;
--- lynx/src/cutelbow.c	2002-09-30 12:20:47
+++ lynx/src/cutelbow.c	2026-05-01 10:31:03
@@ -43,6 +43,7 @@
 \------------------------------------------------------------*/
 
 # include <stdio.h>
+# include <string.h>
 
 # include "mut.h"
 # include "mlo.h"
--- lynx/src/flatrds.c	2002-09-30 12:20:47
+++ lynx/src/flatrds.c	2026-05-01 10:31:03
@@ -43,6 +43,7 @@
 \------------------------------------------------------------*/
 
 # include <stdio.h>
+# include <string.h>
 
 # include "mut.h"
 # include "mph.h"
--- lynx/src/parse.c	2002-09-30 12:20:48
+++ lynx/src/parse.c	2026-05-01 10:31:03
@@ -43,6 +43,7 @@
 \------------------------------------------------------------*/
 
 # include <stdio.h>
+# include <string.h>
 
 # include "mut.h"
 # include "mlo.h"
--- mbkap/src/alc_driv_p.c	2002-09-30 12:20:53
+++ mbkap/src/alc_driv_p.c	2026-05-01 10:31:03
@@ -38,6 +38,7 @@
 *                                                               *
 ************************************************************************/
 
+#include <string.h>
 #include <time.h>
 #include <mut.h>
 #include <mph.h>
--- mbkedif/src/driver.c	2002-09-30 12:20:54
+++ mbkedif/src/driver.c	2026-05-01 10:31:03
@@ -65,6 +65,9 @@
 #define DEBUG_MBKEDIF     "DEBUG_MBKEDIF"
 #define DEFAULT_SUFFIXES  "y=ScLib:dp=DpLib:fp=FpLib:sp=PadLib"
 
+/* From time.c */
+extern char *EdifTime(void);
+
 /* Global variables*/
 
 static int          edif_debug = FALSE;
@@ -78,7 +81,6 @@
 static chain_list  *already_drived = NULL;
 
 /* Global Functions*/
-
 static void         port_ext         ( );
 static void         edit_sig         ( );
 static void         edit_ins         ( );
--- mbkedif/src/parser_y.y	2006-03-29 12:10:35
+++ mbkedif/src/parser_y.y	2026-05-01 10:31:03
@@ -10,11 +10,15 @@
 /*                      version 4.06:   by Olivier BEAURIN (Nov. 93)    */
 /*----------------------------------------------------------------------*/
 
-#include <mut.h>
-#include <mlo.h>
+#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <ctype.h>
 
+#include <mut.h>
+#include <mlo.h>
+#include "rcn.h"
+
 /*---------------------------------------------------------\
                      Les defines
 \---------------------------------------------------------*/
@@ -65,7 +69,9 @@
 extern  char       *edif_busname        ( );
 
 extern  int         yylineno;
-
+int ediferror(char *String);
+void edifrestart(FILE *input_file);
+int ediflex(void);
 %}
 
 %start r_edif
--- mbkedif/src/time.c	2006-03-29 12:10:36
+++ mbkedif/src/time.c	2026-05-01 10:31:03
@@ -47,7 +47,7 @@
 #include <string.h>
 #include <time.h>
 
-char *EdifTime()
+char *EdifTime(void)
 {
 int EdifMonth();
 char *date;
--- mbkmg/src/mbk2mg.c	2002-09-30 12:20:56
+++ mbkmg/src/mbk2mg.c	2026-05-01 10:31:03
@@ -431,7 +431,7 @@
 phref_list *HeadOfList;
 {
 register phref_list *pt;
-static refindex;
+static int refindex;
 
 	for (pt = HeadOfList; pt; pt = pt->NEXT) {
 		/* text because we don't know how to print anything */
--- mbkmg/src/mg2mbk_y.y	2002-09-30 12:20:56
+++ mbkmg/src/mg2mbk_y.y	2026-05-01 10:31:03
@@ -34,6 +34,8 @@
 #include <mph.h>
 #define MAXLAYER (LAST_LAYER + 1)
 
+int mgnlex(void);
+int mgnerror(char *);
 static phfig_list *mgleaf; /* modgen leaf cell parsed */
 static char mbk_layer();
 static char *checkinsname();
--- mbkspice/src/spi_hash.c	2002-09-30 12:20:57
+++ mbkspice/src/spi_hash.c	2026-05-01 10:31:03
@@ -31,6 +31,7 @@
 *******************************************************************************/
 
 #include <stdio.h>
+#include <string.h>
 #include <mut.h>
 #include "spi_hash.h"
 
--- mbkspice/src/spi_msg.c	2002-09-30 12:20:57
+++ mbkspice/src/spi_msg.c	2026-05-01 10:31:03
@@ -32,6 +32,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include "spi_msg.h"
 
 #include <mut.h>
--- mbkvhdl/src/mvl_parse.c	2009-06-14 09:51:55
+++ mbkvhdl/src/mvl_parse.c	2026-05-01 10:31:03
@@ -38,6 +38,7 @@
 #include "mvl_parse.h"
 #include "mvl_utdef.h"
 
+extern void mvl_y_restart(FILE *input_file);
 void vhdlloadlofig (pt_lofig, figname, mode)
 
 struct lofig *pt_lofig;
--- mbkvhdl/src/mvl_scomp_y.y	2009-06-14 09:51:55
+++ mbkvhdl/src/mvl_scomp_y.y	2026-05-01 10:31:03
@@ -11,12 +11,15 @@
 
 %{
 #include <stdio.h>
+#include <string.h>
 #include <mut.h>
 #include <mlo.h>
 #include "mvl_stype.h"
 #include "mvl_syacc.h"
 #include "mvl_stdef.h"
 
+int mvl_y_lex(void);
+int mvl_y_error(char *);
 
 static int           MVL_GENFLG = 0   ;	/* Indicates if generic 	*/
 static int           MVL_CONRNK = 0   ;	/* rank of an implicit connexion*/
--- mbkvhdlg/src/mvl_parse.c	2009-06-14 09:51:56
+++ mbkvhdlg/src/mvl_parse.c	2026-05-01 10:31:03
@@ -15,6 +15,7 @@
 #include "mvl_parse.h"
 #include "mvl_utdef.h"
 
+extern void mvl_y_restart(FILE *input_file);
 void vhdlloadlofig (pt_lofig, figname, mode)
 
 struct lofig *pt_lofig;
--- mbkvhdlg/src/mvl_scomp_y.y	2009-06-14 09:51:56
+++ mbkvhdlg/src/mvl_scomp_y.y	2026-05-01 10:31:03
@@ -20,6 +20,8 @@
 #include "mvl_stdef.h"
 #include "gen_generic.h"
 
+int mvl_y_lex(void);
+int mvl_y_error(char *);
 
 static int           MVL_GENFLG = 0   ; /* Indicates if generic         */
 static int           MVL_CONRNK = 0   ; /* rank of an implicit connexion*/
--- mbkvhdlg/src/vel_drive.c	2002-12-19 07:56:29
+++ mbkvhdlg/src/vel_drive.c	2026-05-01 10:31:03
@@ -95,11 +95,18 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
+#include <ctype.h>
 #include <mut.h>
 #include <mlo.h>
 #include <mlu.h>
 #include "vel_velo.h"
 #include "gen_generic.h"
+
+extern void vectorize_velosig(lofig_list *f);
+extern void vectorize_velocon(lofig_list *f, ptype_list *p);
+extern void chkdir(lofig_list *f);
+extern void addsignals(lofig_list *f);
+extern int vhdlsavevelofig(lofig_list *f, int mode);
 
 /* ###--------------------------------------------------------------------### */
 /* #   Static Variables                                                     # */
--- mbkvhdlg/src/vel_vect.c	2002-04-26 05:51:07
+++ mbkvhdlg/src/vel_vect.c	2026-05-01 10:31:03
@@ -56,6 +56,8 @@
 #include <mlo.h>
 #include <mlu.h>
 
+extern void sortlosigv(losig_list **signals);
+
 static char buffer[BUFSIZ];
 
 #define Signame(sig) ((sig)->NAMECHAIN->DATA)
--- mbkvhdlg/src/x2vy_main.c	2009-06-14 09:51:57
+++ mbkvhdlg/src/x2vy_main.c	2026-05-01 10:31:03
@@ -58,6 +58,9 @@
 #define ADDSIG 0x40
 #define NOLOGEN 0x80
 
+extern void vectlosig(losig_list **s);
+extern int vhdlsavevelofig(lofig_list *f, int mode);
+
 static void printusage(void)
 {
    fputs("** Usage : x2vy [-nrvc] file [outputfile]\n",               stderr);
--- mips_asm/src/mips_util.c	2004-05-23 09:57:39
+++ mips_asm/src/mips_util.c	2026-05-01 10:31:03
@@ -30,6 +30,8 @@
 /* ###--------------------------------------------------------------### */
 	
 #include <stdio.h>
+#include <string.h>
+
 #include "mut.h"
 #include "log.h"
 #include "beh.h"
--- mips_asm/src/mips_y.y	2004-05-23 09:57:39
+++ mips_asm/src/mips_y.y	2026-05-01 10:31:03
@@ -31,6 +31,8 @@
 
 %{
 #include <stdio.h>
+#include <string.h>
+
 #include "mut.h"
 #include "log.h"
 #include "beh.h"
@@ -38,11 +40,12 @@
 #include "mips_defs.h"
 #include "mips_yacc.h"
 
-main (argc, argv)
+int yylex();
+int yyerror(char *);
+int yyparse();
+void yyrestart(FILE *);
 
-int   argc   ;
-char *argv [];
-
+int main (int argc, char *argv[])
   {
   extern FILE  *yyin          ;
   extern FILE  *MPS_WRTFIL    ;
@@ -1640,7 +1643,7 @@
 /* called func.	: none							*/
 /* ###--------------------------------------------------------------### */
 
-yyerror (str)
+int yyerror (str)
 
 char *str;
 
--- ocp/src/placer/PPlacement.h	2008-01-07 12:22:51
+++ ocp/src/placer/PPlacement.h	2026-05-01 10:31:03
@@ -79,11 +79,11 @@
 	typedef map<double, unsigned, less<double> > PRowsYMax;
 	typedef map<double, unsigned, greater<double> > PRowsYMinInv;
 	typedef hash_map<long, PONet*> PNetMap;
-	typedef hash_map<const char*, PIns*, hash<const char *>, eqstr>PInsMap;
-	typedef hash_map<const char*, PCon*, hash<const char *>, eqstr> PConMap;
-	typedef hash_map<const char*, locon*, hash<const char *>, eqstr> PLoconMap;
-	typedef hash_map<const char*, int, hash<const char *>, eqstr> PFixedMap;
-	typedef hash_map<const char*, PDetToPlaceIns*, hash<const char*>, eqstr> PDetInsMap;
+	typedef hash_map<const char*, PIns*, std::hash<const char *>, eqstr>PInsMap;
+	typedef hash_map<const char*, PCon*, std::hash<const char *>, eqstr> PConMap;
+	typedef hash_map<const char*, locon*, std::hash<const char *>, eqstr> PLoconMap;
+	typedef hash_map<const char*, int, std::hash<const char *>, eqstr> PFixedMap;
+	typedef hash_map<const char*, PDetToPlaceIns*, std::hash<const char*>, eqstr> PDetInsMap;
 
 	PBBox		BBox;
 	int		_dx;
--- phl/src/pat_debug.c	2009-06-14 09:52:04
+++ phl/src/pat_debug.c	2026-05-01 10:31:03
@@ -30,6 +30,7 @@
 /* ###--------------------------------------------------------------### */
 
 #include <stdio.h>
+#include <string.h>
 #include "mut.h"
 #include "pat.h"
 #include "pat_debug.h"
--- ppt/src/pat_decl_y.y	2009-06-14 09:52:05
+++ ppt/src/pat_decl_y.y	2026-05-01 10:31:03
@@ -40,6 +40,11 @@
 #include "pat_type.h"
 #include "pat_decl.h"
 
+int yylex();
+void yyerror(char *);
+int yyparse();
+extern void pat_decl_y_restart(FILE *);
+
 /* ###--------------------------------------------------------------### */
 /* function	: yyerror						*/
 /* description	: print an error message (errors detected by yacc)	*/
--- ppt/src/pat_desc_y.y	2009-06-14 09:52:05
+++ ppt/src/pat_desc_y.y	2026-05-01 10:31:03
@@ -40,6 +40,10 @@
 #include "pat_type.h"
 #include "pat_desc.h"
 
+int yylex();
+void yyerror(char *);
+int yyparse();
+
 /* ###--------------------------------------------------------------### */
 /* function	: lcl_addpacom						*/
 /* description	: create PACOM structure if there is no more structure	*/
--- proof/src/proof_main.c	2002-09-30 12:21:07
+++ proof/src/proof_main.c	2026-05-01 10:31:03
@@ -32,6 +32,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include "mut.h"
 #include "log.h"
 #include "beh.h"
@@ -44,6 +45,11 @@
    
 extern befig_list *VHB_HEDFIG;
 
+extern int proofBeh(befig_list *, befig_list *, int, int);
+extern void polarBDBeh(befig_list *);
+extern void elimInoutBeh(befig_list *);
+extern void orderProofBeh(befig_list *, befig_list *, char);
+extern int elimBusMuxBeh(befig_list *);
 
 /*AFAC*/
 char *nameIntVect (char *name);
--- proof/src/proof_util.c	2009-06-14 09:52:06
+++ proof/src/proof_util.c	2026-05-01 10:31:03
@@ -31,7 +31,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
-
+#include <string.h>
 #include "mut.h"
 #include "log.h"
 #include "beh.h"
--- ring/src/lireplace.c	2009-06-14 09:52:10
+++ ring/src/lireplace.c	2026-05-01 10:31:03
@@ -53,6 +53,8 @@
 #include "lireplace.h"
 #include "sesame.h"
 
+int yyparse();
+
 /*-----------------------------------------------------------------------------------*/
 /* Lecture et verification du fichier de parametres , suffixe .rin. Lancement de     */
 /* l'analyseur syntaxique                                                            */
--- ring/src/posercircuit.c	2009-06-14 09:52:10
+++ ring/src/posercircuit.c	2026-05-01 10:31:03
@@ -49,6 +49,7 @@
 #include "barre.h"
 #include "stat.h"
 #include "sesame.h"
+#include <mgn.h>
 
 extern long	bigvias, ringvias;
 
--- ring/src/ringram.y	2002-03-13 14:23:36
+++ ring/src/ringram.y	2026-05-01 10:31:03
@@ -2,6 +2,9 @@
 %{
 #include <stdlib.h> 
 #include "struct.h"
+
+int yylex();
+int yyerror(char *);
 %}
 %token M_NORTH, M_SOUTH, M_WEST, M_EAST, M_WIDTH
 %token NOMBRE
--- sea/src/DEF2a.c	2003-06-26 13:00:39
+++ sea/src/DEF2a.c	2026-05-01 10:31:03
@@ -20,6 +20,7 @@
 #  include  "util_Defs.h"
 #  include  "DEF_grammar.h"
 
+extern void savephfig(phfig_list *);
 
 /*  ------------------------------------------------------------------
  *  Local constants.
--- sea/src/a2DEF.c	2003-06-26 13:00:39
+++ sea/src/a2DEF.c	2026-05-01 10:31:03
@@ -16,11 +16,12 @@
  *  \----------------------------------------------------------------/
  */
 
-
 # include  "util_Defs.h"
 # include  "DEF_drive.h"
 # include  "MAC_drive.h"
 
+extern void rflattenlofig(lofig_list *, char, char);
+extern void rflattenphfig(phfig_list *, char, char);
 
 /*  ------------------------------------------------------------------
  *  Local constants.
--- vasy/src/vasy_parse.c	2004-02-02 16:33:43
+++ vasy/src/vasy_parse.c	2026-05-01 10:31:03
@@ -65,6 +65,8 @@
 # include "vasy_error.h"
 # include "vasy_main.h"
 
+extern void VasyExpandDynFuncVbhFig(vbfig_list *);
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
--- vbl/src/vbl_bcomp_l.l	2009-06-14 09:52:16
+++ vbl/src/vbl_bcomp_l.l	2026-05-01 10:31:03
@@ -180,7 +180,7 @@
   strcpy(loc,s);
   while(l--) loc[l]=tolower(loc[l]);	/* conversion en minuscules */
   pt= (el_mc *) bsearch(loc, (char *)tab_mc,VBL_NB_MC,sizeof(el_mc),
- (long (*)(const void *, const void *)) strcmp);
+ (int (*)(const void *, const void *)) strcmp);
   if (pt==NULL) return(-1);
 
   return(pt->kval);
--- vbl/src/vbl_bcomp_y.y	2009-06-14 09:52:16
+++ vbl/src/vbl_bcomp_y.y	2026-05-01 10:31:03
@@ -44,6 +44,9 @@
 #include "vbl_bspec.h"
 #include "vbl_byacc.h"
 
+extern int yylex();
+extern int yyerror(char *);
+
 #if 1
 # define my_fprintf fprintf( stdout, "%s %d : ", basename(__FILE__), __LINE__ ); fprintf
 # define my_vbl_error(N,V) \
--- vbl/src/vbl_bspec.c	2009-06-14 09:52:17
+++ vbl/src/vbl_bspec.c	2026-05-01 10:31:03
@@ -35,6 +35,8 @@
 #include "vbl_bedef.h"
 #include "vbl_bspec.h"
 
+extern void vbl_toolbug(long, char *, char *, long);
+
 static long VblEvalError = 0;
 
 /* ###--------------------------------------------------------------### */
--- x2y/src/x2y.c	2004-07-30 10:28:22
+++ x2y/src/x2y.c	2026-05-01 10:31:03
@@ -27,6 +27,8 @@
 #include "mut.h"
 #include "mlo.h"
 #include "mph.h"
+#include "mlu.h"
+#include "mpu.h"
 
 /*
 
--- xfsm/src/XFS_error.c	2002-09-30 12:21:36
+++ xfsm/src/XFS_error.c	2026-05-01 10:31:03
@@ -44,6 +44,7 @@
 
 # include <stdio.h>
 # include <stdlib.h>
+# include <string.h>
 # include <signal.h>
 # include <setjmp.h>
 # include "mut.h"
--- xfsm/src/XFS_fsm.c	2002-09-30 12:21:36
+++ xfsm/src/XFS_fsm.c	2026-05-01 10:31:03
@@ -56,6 +56,7 @@
 # include "XSB.h" 
 # include "XFS.h"
 # include "XFS_fsm.h"
+# include "XFS_error.h"
 
 /*------------------------------------------------------------\
 |                                                             |
--- xfsm/src/XME_dialog.c	2002-09-30 12:21:36
+++ xfsm/src/XME_dialog.c	2026-05-01 10:31:03
@@ -62,6 +62,7 @@
 
 # include "XME_dialog.h"
 # include "XME_edit.h"
+# include "XME_search.h"
 
 /*------------------------------------------------------------\
 |                                                             |
--- xfsm/src/XME_edit.c	2002-09-30 12:21:36
+++ xfsm/src/XME_edit.c	2026-05-01 10:31:03
@@ -60,6 +60,12 @@
 
 # include "XME_edit.h"
 # include "XME_message.h"
+# include "XME_panel.h"
+# include "XMV_view.h"
+
+extern void XfsmLimitedLoop(Widget);
+extern void XfsmAddSelectList(xfsmobj_list *);
+extern void XfsmEditSelectPoint(long, long);
 
 /*------------------------------------------------------------\
 |                                                             |
--- xfsm/src/XME_panel.c	2002-09-30 12:21:37
+++ xfsm/src/XME_panel.c	2026-05-01 10:31:03
@@ -48,6 +48,8 @@
 # include <Xm/FileSB.h>
 # include <Xm/SelectioB.h>
 # include <Xm/PushBG.h>
+# include <Xm/Text.h>
+# include <Xm/List.h>
 
 # include "mut.h"
 # include "aut.h"
@@ -65,6 +67,10 @@
 # include "XME_dialog.h"
 # include "XME_edit.h"
 # include "XME_search.h"
+# include "XME_select.h"
+
+extern void XfsmEditSelectAccept();
+extern void XfsmEditSelectCancel();
 
 /*------------------------------------------------------------\
 |                                                             |
--- xfsm/src/XME_search.c	2002-09-30 12:21:37
+++ xfsm/src/XME_search.c	2026-05-01 10:31:03
@@ -57,8 +57,11 @@
 # include "XMX.h"
 # include "XFS.h"
 # include "XME.h"
+# include "XMV.h"
 
 # include "XME_search.h"
+
+extern void XfsmLimitedLoop(Widget);
 
 /*------------------------------------------------------------\
 |                                                             |
--- xfsm/src/XME_select.c	2002-09-30 12:21:37
+++ xfsm/src/XME_select.c	2026-05-01 10:31:03
@@ -59,8 +59,10 @@
 # include "XMX.h"
 # include "XFS.h"
 # include "XME.h"
+# include "XMV.h"
 
 # include "XME_select.h"
+# include "XME_panel.h"
 
 /*------------------------------------------------------------\
 |                                                             |
--- xfsm/src/XMF_file.c	2002-09-30 12:21:37
+++ xfsm/src/XMF_file.c	2026-05-01 10:31:03
@@ -61,7 +61,8 @@
 # include "XMX.h"
 # include "XTB.h"
 # include "XMF.h"
-
+# include "XMV.h"
+# include "XMT.h"
 # include "XMF_file.h"
 
 /*------------------------------------------------------------\
--- xfsm/src/XMF_menu.c	2002-09-30 12:21:37
+++ xfsm/src/XMF_menu.c	2026-05-01 10:31:03
@@ -81,7 +81,7 @@
 |                                                             |
 \------------------------------------------------------------*/
 
-  static XfsmFirstFileOpen = 1;
+  static int XfsmFirstFileOpen = 1;
 
 /*------------------------------------------------------------\
 |                                                             |
--- xfsm/src/XMF_panel.c	2002-09-30 12:21:37
+++ xfsm/src/XMF_panel.c	2026-05-01 10:31:03
@@ -70,6 +70,8 @@
 # include "XMF_panel.h"
 # include "XMF_dialog.h"
 
+extern void XfsmLimitedLoop(Widget);
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
--- xfsm/src/XMH_panel.c	2004-07-29 06:10:51
+++ xfsm/src/XMH_panel.c	2026-05-01 10:31:03
@@ -69,6 +69,8 @@
 # include "XMH_panel.h" 
 # include "LIP6bw.h" 
 
+extern void XfsmLimitedLoop(Widget);
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
--- xfsm/src/XMS_panel.c	2002-09-30 12:21:38
+++ xfsm/src/XMS_panel.c	2026-05-01 10:31:03
@@ -48,6 +48,7 @@
 # include <Xm/FileSB.h>
 # include <Xm/SelectioB.h>
 # include <Xm/PushBG.h>
+# include <Xm/Text.h>
 
 # include "mut.h"
 # include "aut.h"
@@ -60,6 +61,8 @@
 # include "XMS.h"
 
 # include "XMS_panel.h"
+
+extern void XfsmLimitedLoop(Widget);
 
 /*------------------------------------------------------------\
 |                                                             |
--- xfsm/src/XMS_setup.c	2002-09-30 12:21:38
+++ xfsm/src/XMS_setup.c	2026-05-01 10:31:03
@@ -63,6 +63,8 @@
 
 # include "XMS_setup.h"
 
+extern void XfsmInitializeLayer();
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
--- xfsm/src/XMT_panel.c	2002-09-30 12:21:39
+++ xfsm/src/XMT_panel.c	2026-05-01 10:31:03
@@ -48,6 +48,7 @@
 # include <Xm/FileSB.h>
 # include <Xm/SelectioB.h>
 # include <Xm/PushBG.h>
+# include <Xm/Text.h>
 
 # include "mut.h"
 # include "aut.h"
--- xfsm/src/XMV_menu.c	2002-09-30 12:21:39
+++ xfsm/src/XMV_menu.c	2026-05-01 10:31:03
@@ -62,6 +62,8 @@
 # include "XMV_view.h"
 # include "XMV_map.h"
 
+extern void XfsmInitializeLayer();
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
--- xfsm/src/XMV_panel.c	2009-06-14 09:52:28
+++ xfsm/src/XMV_panel.c	2026-05-01 10:31:03
@@ -63,6 +63,8 @@
 # include "XMV_message.h"
 # include "XMX_color.h"
 
+extern void XfsmChangeCursorContext();
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
--- xfsm/src/XMV_view.c	2002-09-30 12:21:39
+++ xfsm/src/XMV_view.c	2026-05-01 10:31:03
@@ -58,6 +58,8 @@
 
 # include "XMV_view.h"
 
+extern void XfsmInitializeUnitGrid();
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
--- xfsm/src/XMX_dialog.c	2002-09-30 12:21:39
+++ xfsm/src/XMX_dialog.c	2026-05-01 10:31:03
@@ -62,7 +62,7 @@
 # include "XMS.h"
 # include "XMH.h"
 # include "XMX.h"
-
+# include "XME.h"
 # include "XMX_dialog.h"
 
 /*------------------------------------------------------------\
--- xfsm/src/XMX_event.c	2004-07-29 13:00:53
+++ xfsm/src/XMX_event.c	2026-05-01 10:31:03
@@ -67,6 +67,10 @@
 # include "XMX_cursor.h"
 # include "XMX_event.h"
 # include "XMX_message.h"
+# include "XMF_file.h"
+# include "XMV_view.h"
+
+extern void XfsmInitializeGraphicWindow();
 
 /*------------------------------------------------------------\
 |                                                             |
--- xfsm/src/XMX_graphic.c	2002-09-30 12:21:40
+++ xfsm/src/XMX_graphic.c	2026-05-01 10:31:03
@@ -61,6 +61,9 @@
 # include "XMX_graphic.h"
 # include "XMX_grid.h"
 
+extern void XfsmInitializeUnitGrid();
+extern char XfsmDisplayUnitGrid(long, long, long, long);
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
--- xfsm/src/XMX_motif.c	2002-09-30 12:21:40
+++ xfsm/src/XMX_motif.c	2026-05-01 10:31:03
@@ -58,6 +58,8 @@
 # include "XTB.h"
 # include "XMX.h"
 # include "XMS.h"
+# include "XMF.h"
+# include "XMV.h"
 
 # include "XMX_motif.h"
 # include "XMX_graphic.h" 
@@ -67,6 +69,9 @@
 # include "XMX_color.h" 
 # include "XMX_panel.h"
 # include "XMX_dialog.h"
+# include "XMX_icon.h"
+
+extern void XfsmInitializeColorMap();
 
 /*------------------------------------------------------------\
 |                                                             |
--- xfsm/src/XSB_parse.c	2002-09-30 12:21:40
+++ xfsm/src/XSB_parse.c	2026-05-01 10:31:03
@@ -54,6 +54,8 @@
 # include "XSB_error.h"
 # include "XSB_parse.h"
 
+extern void XsbError(char, char *, long);
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
@@ -154,7 +156,7 @@
   int   Size;
 {
   register char *RegisterString;
-  register       Register;
+  register int   Register;
 
   autbegin();
  
@@ -621,7 +623,7 @@
     {
       if (!( FirstWord = XsbGetNextWord(1, 1)))
       {
-        XsbError( MISSING_NAME, TableKeyword );
+        XsbError( MISSING_NAME, TableKeyword, 0 );
       }
 
       if ( FirstWord == LayerNameKeyword )
--- xfsm/src/XTB_cursor.c	2002-09-30 12:21:41
+++ xfsm/src/XTB_cursor.c	2026-05-01 10:31:03
@@ -46,6 +46,7 @@
 # include <stdio.h>
 # include <X11/cursorfont.h>
 # include <X11/Intrinsic.h>
+# include <Xm/Display.h>
 # include "mut.h"
 # include "aut.h"
 # include "abl.h"
--- xfsm/src/XTB_dialog.c	2004-07-29 06:07:46
+++ xfsm/src/XTB_dialog.c	2026-05-01 10:31:03
@@ -55,6 +55,7 @@
 # include "fsm.h"
 # include "XTB.h"
 # include "XSB.h"
+# include "XFS.h"
 # include "XTB_dialog.h"
 
 /*------------------------------------------------------------\
@@ -73,7 +74,7 @@
 |                                                             |
 \------------------------------------------------------------*/
   
-  static XfsmLockLoop = 0;
+  static int XfsmLockLoop = 0;
 
   static XfsmDialogItem XfsmWarningDialog =
 
--- xfsm/src/xfsm.c	2002-09-30 12:21:41
+++ xfsm/src/xfsm.c	2026-05-01 10:31:03
@@ -60,6 +60,8 @@
 
 # include "xfsm.h"
 
+extern void XfsmInitializeErrorMessage(char);
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
--- xgra/src/XGR_error.c	2009-09-01 17:33:43
+++ xgra/src/XGR_error.c	2026-05-01 10:31:03
@@ -44,6 +44,7 @@
 
 # include <stdio.h>
 # include <stdlib.h>
+# include <string.h>
 # include <signal.h>
 # include <setjmp.h>
 # include "mut.h"
--- xgra/src/XGR_graph.c	2007-11-27 15:41:32
+++ xgra/src/XGR_graph.c	2026-05-01 10:31:03
@@ -52,6 +52,7 @@
 # include "XSB.h"
 # include "XGR.h"
 # include "XGR_graph.h"
+# include "XGR_error.h"
 
 /*------------------------------------------------------------\
 |                                                             |
--- xgra/src/XME_dialog.c	2007-11-27 15:41:33
+++ xgra/src/XME_dialog.c	2026-05-01 10:31:03
@@ -58,6 +58,7 @@
 
 # include "XME_dialog.h"
 # include "XME_edit.h"
+# include "XME_search.h"
 
 /*------------------------------------------------------------\
 |                                                             |
--- xgra/src/XME_edit.c	2007-11-27 15:41:34
+++ xgra/src/XME_edit.c	2026-05-01 10:31:03
@@ -58,6 +58,11 @@
 
 # include "XME_edit.h"
 # include "XME_message.h"
+# include "XME_panel.h"
+
+extern void XgraLimitedLoop(Widget);
+extern void XgraAddSelectList(xgraobj_list *);
+extern void XgraEditSelectPoint(long, long);
 
 /*------------------------------------------------------------\
 |                                                             |
--- xgra/src/XME_panel.c	2007-11-27 15:41:34
+++ xgra/src/XME_panel.c	2026-05-01 10:31:03
@@ -48,6 +48,8 @@
 # include <Xm/FileSB.h>
 # include <Xm/SelectioB.h>
 # include <Xm/PushBG.h>
+# include <Xm/Text.h>
+# include <Xm/List.h>
 
 # include "mut.h"
 # include "aut.h"
@@ -61,7 +63,11 @@
 # include "XME_dialog.h"
 # include "XME_edit.h"
 # include "XME_search.h"
+# include "XME_select.h"
 
+extern void XgraEditSelectAccept();
+extern void XgraEditSelectCancel();
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
@@ -485,7 +491,7 @@
   else
   {
     Label = XmStringCreateSimple( Message );
-    XmListAddItem( XgraEditSelectButton[ 0 ].BUTTON , Label , NULL );
+    XmListAddItem( XgraEditSelectButton[ 0 ].BUTTON , Label , 0 );
     XmStringFree( Label );
   }
 
--- xgra/src/XME_search.c	2007-11-27 15:41:35
+++ xgra/src/XME_search.c	2026-05-01 10:31:03
@@ -58,6 +58,8 @@
 
 # include "XME_search.h"
 
+extern void XgraLimitedLoop(Widget);
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
--- xgra/src/XME_select.c	2007-11-27 15:41:35
+++ xgra/src/XME_select.c	2026-05-01 10:31:03
@@ -59,6 +59,7 @@
 # include "XMV.h"
 
 # include "XME_select.h"
+# include "XME_panel.h"
 
 /*------------------------------------------------------------\
 |                                                             |
--- xgra/src/XMF_menu.c	2007-11-27 15:41:36
+++ xgra/src/XMF_menu.c	2026-05-01 10:31:03
@@ -77,7 +77,7 @@
 |                                                             |
 \------------------------------------------------------------*/
 
-  static XgraFirstFileOpen = 1;
+  static int XgraFirstFileOpen = 1;
 
 /*------------------------------------------------------------\
 |                                                             |
--- xgra/src/XMF_panel.c	2007-11-27 15:41:36
+++ xgra/src/XMF_panel.c	2026-05-01 10:31:03
@@ -66,6 +66,8 @@
 # include "XMF_panel.h"
 # include "XMF_dialog.h"
 
+extern void XgraLimitedLoop(Widget);
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
@@ -191,12 +193,12 @@
         Index++ )
   {
     Label = XmStringCreateSimple( XGRA_CATA_LIB[ Index ] );
-    XmListAddItem( XgraLibraryList , Label , NULL );
+    XmListAddItem( XgraLibraryList , Label , 0 );
     XmStringFree( Label );
   }
 
   Label = XmStringCreateSimple( XGRA_WORK_LIB );
-  XmListAddItem( XgraLibraryList , Label , NULL );
+  XmListAddItem( XgraLibraryList , Label , 0 );
   XmStringFree( Label );
 
   XGRA_DEFAULT_LIB = (char *)NULL;
--- xgra/src/XMH_panel.c	2007-11-27 15:41:37
+++ xgra/src/XMH_panel.c	2026-05-01 10:31:03
@@ -65,6 +65,8 @@
 
 # include "XMH_panel.h" 
 
+extern void XgraLimitedLoop(Widget);
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
--- xgra/src/XMS_panel.c	2007-11-27 15:41:38
+++ xgra/src/XMS_panel.c	2026-05-01 10:31:03
@@ -48,6 +48,7 @@
 # include <Xm/FileSB.h>
 # include <Xm/SelectioB.h>
 # include <Xm/PushBG.h>
+# include <Xm/Text.h>
 
 # include "mut.h"
 # include "aut.h"
@@ -57,6 +58,8 @@
 # include "XMS.h"
 
 # include "XMS_panel.h"
+
+extern void XgraLimitedLoop(Widget);
 
 /*------------------------------------------------------------\
 |                                                             |
--- xgra/src/XMS_setup.c	2007-11-27 15:41:38
+++ xgra/src/XMS_setup.c	2026-05-01 10:31:03
@@ -60,6 +60,8 @@
 
 # include "XMS_setup.h"
 
+extern void XgraInitializeLayer();
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
--- xgra/src/XMT_panel.c	2007-11-27 15:41:39
+++ xgra/src/XMT_panel.c	2026-05-01 10:31:03
@@ -48,6 +48,7 @@
 # include <Xm/FileSB.h>
 # include <Xm/SelectioB.h>
 # include <Xm/PushBG.h>
+# include <Xm/Text.h>
 
 # include "mut.h"
 # include "aut.h"
--- xgra/src/XMV_menu.c	2007-11-27 15:41:40
+++ xgra/src/XMV_menu.c	2026-05-01 10:31:03
@@ -59,6 +59,8 @@
 # include "XMV_view.h"
 # include "XMV_map.h"
 
+extern void XgraInitializeLayer();
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
--- xgra/src/XMV_view.c	2007-11-27 15:41:41
+++ xgra/src/XMV_view.c	2026-05-01 10:31:03
@@ -55,6 +55,8 @@
 
 # include "XMV_view.h"
 
+extern void XgraInitializeUnitGrid();
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
--- xgra/src/XMX_event.c	2007-11-27 15:41:42
+++ xgra/src/XMX_event.c	2026-05-01 10:31:03
@@ -59,12 +59,17 @@
 # include "XMF.h"
 # include "XMS.h"
 # include "XMH.h"
+# include "XGR.h"
 
 # include "XMX_motif.h"
 # include "XMX_grid.h"
 # include "XMX_cursor.h"
 # include "XMX_event.h"
 # include "XMX_message.h"
+# include "XMV_view.h"
+
+extern void XgraInitializeGraphicWindow();
+extern void XgraFileOpen(char *);
 
 /*------------------------------------------------------------\
 |                                                             |
--- xgra/src/XMX_graphic.c	2007-11-27 15:41:42
+++ xgra/src/XMX_graphic.c	2026-05-01 10:31:03
@@ -58,6 +58,9 @@
 # include "XMX_graphic.h"
 # include "XMX_grid.h"
 
+extern void XgraInitializeUnitGrid();
+extern char XgraDisplayUnitGrid(long, long, long, long);
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
--- xgra/src/XMX_motif.c	2007-11-27 15:41:43
+++ xgra/src/XMX_motif.c	2026-05-01 10:31:03
@@ -56,6 +56,7 @@
 # include "XMX.h"
 # include "XMS.h"
 # include "XMV.h"
+# include "XMF.h"
 
 # include "XMX_motif.h"
 # include "XMX_graphic.h" 
@@ -64,6 +65,7 @@
 # include "XMX_menu.h" 
 # include "XMX_color.h" 
 # include "XMX_panel.h"
+# include "XMX_icon.h"
 # include "XMX_dialog.h"
 
 /*------------------------------------------------------------\
--- xgra/src/XSB_parse.c	2007-11-27 15:41:44
+++ xgra/src/XSB_parse.c	2026-05-01 10:31:03
@@ -52,6 +52,8 @@
 # include "XSB_error.h"
 # include "XSB_parse.h"
 
+extern void XsbError(char, char *, long);
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
@@ -152,7 +154,7 @@
   int   Size;
 {
   register char *RegisterString;
-  register       Register;
+  register int   Register;
 
   autbegin();
  
@@ -619,7 +621,7 @@
     {
       if (!( FirstWord = XsbGetNextWord(1, 1)))
       {
-        XsbError( MISSING_NAME, TableKeyword );
+        XsbError( MISSING_NAME, TableKeyword, 0 );
       }
 
       if ( FirstWord == LayerNameKeyword )
--- xgra/src/XTB_cursor.c	2007-11-27 15:41:45
+++ xgra/src/XTB_cursor.c	2026-05-01 10:31:03
@@ -46,6 +46,7 @@
 # include <stdio.h>
 # include <X11/cursorfont.h>
 # include <X11/Intrinsic.h>
+# include <Xm/Display.h>
 # include "mut.h"
 # include "aut.h"
 # include "XTB.h"
--- xgra/src/XTB_dialog.c	2007-11-27 15:41:45
+++ xgra/src/XTB_dialog.c	2026-05-01 10:31:03
@@ -71,7 +71,7 @@
 |                                                             |
 \------------------------------------------------------------*/
   
-  static XgraLockLoop = 0;
+  static int XgraLockLoop = 0;
 
   static XgraDialogItem XgraWarningDialog =
 
--- xgra/src/xgra.c	2007-11-27 15:41:46
+++ xgra/src/xgra.c	2026-05-01 10:31:03
@@ -56,6 +56,8 @@
 
 # include "xgra.h"
 
+extern void XgraInitializeErrorMessage(char);
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
--- xpat/src/XME_dialog.c	2002-09-30 12:21:42
+++ xpat/src/XME_dialog.c	2026-05-01 10:31:03
@@ -60,6 +60,7 @@
 
 # include "XME_dialog.h"
 # include "XME_edit.h"
+# include "XME_search.h"
 
 /*------------------------------------------------------------\
 |                                                             |
--- xpat/src/XME_edit.c	2002-09-30 12:21:42
+++ xpat/src/XME_edit.c	2026-05-01 10:31:03
@@ -55,9 +55,15 @@
 # include "XMX.h"
 # include "XPT.h"
 # include "XME.h"
+# include "XMV.h"
 
 # include "XME_edit.h"
 # include "XME_message.h"
+# include "XME_panel.h"
+
+extern void XpatLimitedLoop(Widget);
+extern void XpatEditSelectPoint(long, long);
+extern void XpatAddSelectList(xpatobj_list *);
 
 /*------------------------------------------------------------\
 |                                                             |
--- xpat/src/XME_panel.c	2002-09-30 12:21:42
+++ xpat/src/XME_panel.c	2026-05-01 10:31:03
@@ -48,6 +48,8 @@
 # include <Xm/FileSB.h>
 # include <Xm/SelectioB.h>
 # include <Xm/PushBG.h>
+# include <Xm/List.h>
+# include <Xm/Text.h>
 
 # include "mut.h"
 # include "aut.h"
@@ -63,6 +65,10 @@
 # include "XME_dialog.h"
 # include "XME_edit.h"
 # include "XME_search.h"
+# include "XME_select.h"
+
+extern void XpatEditSelectAccept();
+extern void XpatEditSelectCancel();
 
 /*------------------------------------------------------------\
 |                                                             |
--- xpat/src/XME_search.c	2002-09-30 12:21:42
+++ xpat/src/XME_search.c	2026-05-01 10:31:03
@@ -55,8 +55,12 @@
 # include "XMX.h"
 # include "XPT.h"
 # include "XME.h"
+# include "XMV.h"
 
 # include "XME_search.h"
+# include "XMV_view.h"
+
+extern void XpatLimitedLoop(Widget);
 
 /*------------------------------------------------------------\
 |                                                             |
--- xpat/src/XME_select.c	2002-09-30 12:21:42
+++ xpat/src/XME_select.c	2026-05-01 10:31:03
@@ -57,8 +57,10 @@
 # include "XMX.h"
 # include "XPT.h"
 # include "XME.h"
+# include "XMV.h"
 
 # include "XME_select.h"
+# include "XME_panel.h"
 
 /*------------------------------------------------------------\
 |                                                             |
--- xpat/src/XMF_file.c	2002-09-30 12:21:43
+++ xpat/src/XMF_file.c	2026-05-01 10:31:03
@@ -58,6 +58,8 @@
 # include "XMX.h"
 # include "XTB.h"
 # include "XMF.h"
+# include "XMV.h"
+# include "XMT.h"
 
 # include "XMF_file.h"
 
--- xpat/src/XMF_menu.c	2002-09-30 12:21:43
+++ xpat/src/XMF_menu.c	2026-05-01 10:31:03
@@ -78,7 +78,7 @@
 |                                                             |
 \------------------------------------------------------------*/
 
-  static XpatFirstFileOpen = 1;
+  static int XpatFirstFileOpen = 1;
 
 /*------------------------------------------------------------\
 |                                                             |
--- xpat/src/XMF_panel.c	2002-09-30 12:21:43
+++ xpat/src/XMF_panel.c	2026-05-01 10:31:03
@@ -68,6 +68,8 @@
 # include "XMF_panel.h"
 # include "XMF_dialog.h"
 
+extern void XpatLimitedLoop(Widget);
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
--- xpat/src/XMH_panel.c	2004-07-29 06:10:51
+++ xpat/src/XMH_panel.c	2026-05-01 10:31:03
@@ -67,6 +67,8 @@
 # include "XMH_panel.h" 
 # include "LIP6bw.h" 
 
+extern void XpatLimitedLoop(Widget);
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
--- xpat/src/XMS_panel.c	2002-09-30 12:21:44
+++ xpat/src/XMS_panel.c	2026-05-01 10:31:03
@@ -48,6 +48,7 @@
 # include <Xm/FileSB.h>
 # include <Xm/SelectioB.h>
 # include <Xm/PushBG.h>
+# include <Xm/Text.h>
 
 # include "mut.h"
 # include "aut.h"
@@ -58,6 +59,8 @@
 # include "XMS.h"
 
 # include "XMS_panel.h"
+
+extern void XpatLimitedLoop(Widget);
 
 /*------------------------------------------------------------\
 |                                                             |
--- xpat/src/XMS_setup.c	2002-09-30 12:21:44
+++ xpat/src/XMS_setup.c	2026-05-01 10:31:03
@@ -61,6 +61,8 @@
 
 # include "XMS_setup.h"
 
+extern void XpatInitializeLayer();
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
--- xpat/src/XMT_panel.c	2002-09-30 12:21:44
+++ xpat/src/XMT_panel.c	2026-05-01 10:31:03
@@ -48,6 +48,7 @@
 # include <Xm/FileSB.h>
 # include <Xm/SelectioB.h>
 # include <Xm/PushBG.h>
+# include <Xm/Text.h>
 
 # include "mut.h"
 # include "aut.h"
--- xpat/src/XMV_dialog.c	2002-09-30 12:21:45
+++ xpat/src/XMV_dialog.c	2026-05-01 10:31:03
@@ -55,6 +55,7 @@
 # include "XTB.h"
 # include "XMX.h"
 # include "XMV.h"
+# include "XME.h"
 
 # include "XMV_dialog.h"
 # include "XMV_view.h"
--- xpat/src/XMV_menu.c	2002-09-30 12:21:45
+++ xpat/src/XMV_menu.c	2026-05-01 10:31:03
@@ -60,6 +60,8 @@
 # include "XMV_view.h"
 # include "XMV_map.h"
 
+extern void XpatInitializeLayer();
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
--- xpat/src/XMV_panel.c	2009-06-14 09:52:30
+++ xpat/src/XMV_panel.c	2026-05-01 10:31:03
@@ -60,6 +60,7 @@
 # include "XMV_dialog.h"
 # include "XMV_view.h"
 # include "XMV_message.h"
+# include "XMX_color.h"
 
 /*------------------------------------------------------------\
 |                                                             |
--- xpat/src/XMV_view.c	2002-09-30 12:21:45
+++ xpat/src/XMV_view.c	2026-05-01 10:31:03
@@ -56,6 +56,8 @@
 
 # include "XMV_view.h"
 
+extern void XpatInitializeUnitGrid();
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
--- xpat/src/XMX_dialog.c	2002-09-30 12:21:46
+++ xpat/src/XMX_dialog.c	2026-05-01 10:31:03
@@ -60,6 +60,7 @@
 # include "XMS.h"
 # include "XMH.h"
 # include "XMX.h"
+# include "XME.h"
 
 # include "XMX_dialog.h"
 
--- xpat/src/XMX_event.c	2004-07-29 06:03:58
+++ xpat/src/XMX_event.c	2026-05-01 10:31:03
@@ -65,6 +65,10 @@
 # include "XMX_cursor.h"
 # include "XMX_event.h"
 # include "XMX_message.h"
+# include "XMV_view.h"
+
+extern void XpatInitializeGraphicWindow();
+extern void XpatFileOpen(char *);
 
 /*------------------------------------------------------------\
 |                                                             |
--- xpat/src/XMX_graphic.c	2002-09-30 12:21:46
+++ xpat/src/XMX_graphic.c	2026-05-01 10:31:03
@@ -59,6 +59,9 @@
 # include "XMX_graphic.h"
 # include "XMX_grid.h"
 
+extern void XpatInitializeUnitGrid();
+extern char XpatDisplayUnitGrid(long, long, long, long);
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
--- xpat/src/XMX_motif.c	2002-09-30 12:21:47
+++ xpat/src/XMX_motif.c	2026-05-01 10:31:03
@@ -56,6 +56,8 @@
 # include "XTB.h"
 # include "XMX.h"
 # include "XMS.h"
+# include "XMF.h"
+# include "XMV.h"
 
 # include "XMX_motif.h"
 # include "XMX_graphic.h" 
@@ -65,6 +67,7 @@
 # include "XMX_color.h" 
 # include "XMX_panel.h"
 # include "XMX_dialog.h"
+# include "XMX_icon.h"
 
 /*------------------------------------------------------------\
 |                                                             |
--- xpat/src/XPT_object.c	2002-09-30 12:21:47
+++ xpat/src/XPT_object.c	2026-05-01 10:31:03
@@ -57,6 +57,8 @@
 # include "XPT_object.h"
 # include "XPT_pat.h"
 
+extern void pat_delpatfig(patfig_list *);
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
--- xpat/src/XPT_pat.c	2002-09-30 12:21:47
+++ xpat/src/XPT_pat.c	2026-05-01 10:31:03
@@ -54,6 +54,7 @@
 # include "XSB.h" 
 # include "XPT.h"
 # include "XPT_pat.h"
+# include "XPT_error.h"
 
 /*------------------------------------------------------------\
 |                                                             |
--- xpat/src/XSB_parse.c	2002-09-30 12:21:47
+++ xpat/src/XSB_parse.c	2026-05-01 10:31:03
@@ -52,6 +52,8 @@
 # include "XSB_error.h"
 # include "XSB_parse.h"
 
+extern void XsbError(char, char *, long);
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
@@ -152,7 +154,7 @@
   int   Size;
 {
   register char *RegisterString;
-  register       Register;
+  register int   Register;
 
   autbegin();
  
@@ -619,7 +621,7 @@
     {
       if (!( FirstWord = XsbGetNextWord(1, 1)))
       {
-        XsbError( MISSING_NAME, TableKeyword );
+        XsbError( MISSING_NAME, TableKeyword, 0 );
       }
 
       if ( FirstWord == LayerNameKeyword )
--- xpat/src/XTB_cursor.c	2002-09-30 12:21:48
+++ xpat/src/XTB_cursor.c	2026-05-01 10:31:03
@@ -46,6 +46,7 @@
 # include <stdio.h>
 # include <X11/cursorfont.h>
 # include <X11/Intrinsic.h>
+# include <Xm/Display.h>
 # include "mut.h"
 # include "aut.h"
 # include "pat.h"
--- xpat/src/XTB_dialog.c	2004-07-29 06:03:58
+++ xpat/src/XTB_dialog.c	2026-05-01 10:31:03
@@ -53,6 +53,7 @@
 # include "pat.h"
 # include "XTB.h"
 # include "XSB.h"
+# include "XPT.h"
 # include "XTB_dialog.h"
 
 /*------------------------------------------------------------\
@@ -71,7 +72,7 @@
 |                                                             |
 \------------------------------------------------------------*/
   
-  static XpatLockLoop = 0;
+  static int XpatLockLoop = 0;
 
   static XpatDialogItem XpatWarningDialog =
 
--- xpat/src/xpat.c	2002-09-30 12:21:48
+++ xpat/src/xpat.c	2026-05-01 10:31:03
@@ -57,6 +57,8 @@
 
 # include "xpat.h"
 
+extern void XpatInitializeErrorMessage(char);
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
--- xsch/src/XME_select.c	2002-09-30 12:21:51
+++ xsch/src/XME_select.c	2026-05-01 10:31:03
@@ -59,6 +59,7 @@
 # include "XSC.h"
 # include "XME.h"
 # include "XMV.h"
+# include "XMT.h"
 
 # include "XME_select.h"
 # include "XME_panel.h"
--- xsch/src/XMF_menu.c	2002-09-30 12:21:51
+++ xsch/src/XMF_menu.c	2026-05-01 10:31:03
@@ -79,7 +79,7 @@
 |                                                             |
 \------------------------------------------------------------*/
 
-  static XschFirstFileOpen = 1;
+  static int XschFirstFileOpen = 1;
 
 /*------------------------------------------------------------\
 |                                                             |
--- xsch/src/XMT_tools.c	2004-02-17 12:34:42
+++ xsch/src/XMT_tools.c	2026-05-01 10:31:03
@@ -55,9 +55,12 @@
 # include "XMX.h"
 # include "XSC.h"
 # include "XMT.h"
+# include "XMV.h"
 
 # include "XMT_tools.h"
 # include "XMT_message.h"
+
+extern void XschFileOpen(char *, int);
 
 /*------------------------------------------------------------\
 |                                                             |
--- xsch/src/XSB_parse.c	2002-09-30 12:21:59
+++ xsch/src/XSB_parse.c	2026-05-01 10:31:03
@@ -167,7 +167,7 @@
   int   Size;
 {
   register char *RegisterString;
-  register       Register;
+  register int   Register;
 
   autbegin();
  
--- xsch/src/XSC_error.c	2002-09-30 12:22:00
+++ xsch/src/XSC_error.c	2026-05-01 10:31:03
@@ -44,6 +44,7 @@
 
 # include <stdio.h>
 # include <stdlib.h>
+# include <string.h>
 # include <signal.h>
 # include <setjmp.h>
 # include "mut.h"
--- xsch/src/XTB_dialog.c	2004-07-29 06:05:15
+++ xsch/src/XTB_dialog.c	2026-05-01 10:31:03
@@ -74,7 +74,7 @@
 |                                                             |
 \------------------------------------------------------------*/
   
-  static XschLockLoop = 0;
+  static int XschLockLoop = 0;
 
   static XschDialogItem XschWarningDialog =
 
--- xsch/src/xsch.c	2002-09-30 12:22:10
+++ xsch/src/xsch.c	2026-05-01 10:31:03
@@ -57,6 +57,8 @@
 
 # include "xsch.h"
 
+extern void XschFileAddSlide(char *);
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
--- xvpn/src/XMF_menu.c	2002-09-30 12:22:11
+++ xvpn/src/XMF_menu.c	2026-05-01 10:31:03
@@ -80,7 +80,7 @@
 |                                                             |
 \------------------------------------------------------------*/
 
-  static XvpnFirstFileOpen = 1;
+  static int XvpnFirstFileOpen = 1;
 
 /*------------------------------------------------------------\
 |                                                             |
--- xvpn/src/XMV_panel.c	2009-06-14 09:52:35
+++ xvpn/src/XMV_panel.c	2026-05-01 10:31:03
@@ -59,6 +59,8 @@
 # include "XMV_view.h"
 # include "XMV_message.h"
 
+extern void XvpnChangeCursorContext();
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
--- xvpn/src/XMX_motif.c	2002-09-30 12:22:14
+++ xvpn/src/XMX_motif.c	2026-05-01 10:31:03
@@ -67,6 +67,8 @@
 # include "XMX_dialog.h"
 # include "XMX_icon.h"
 
+extern void XvpnInitializeColorMap();
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
--- xvpn/src/XSB_parse.c	2002-09-30 12:22:14
+++ xvpn/src/XSB_parse.c	2026-05-01 10:31:03
@@ -127,7 +127,7 @@
   int   Size;
 {
   register char *RegisterString;
-  register       Register;
+  register int   Register;
 
   autbegin();
  
--- xvpn/src/XTB_dialog.c	2004-07-29 06:10:52
+++ xvpn/src/XTB_dialog.c	2026-05-01 10:31:03
@@ -72,7 +72,7 @@
 |                                                             |
 \------------------------------------------------------------*/
   
-  static XvpnLockLoop = 0;
+  static int XvpnLockLoop = 0;
 
   static XvpnDialogItem XvpnWarningDialog =
 
--- xvpn/src/xvpn.c	2002-09-30 12:22:15
+++ xvpn/src/xvpn.c	2026-05-01 10:31:03
@@ -59,6 +59,8 @@
 
 # include "xvpn.h"
 
+extern void XvpnFileAddSlide(char *);
+
 /*------------------------------------------------------------\
 |                                                             |
 |                           Constants                         |
