patch 9.1.1840: Generating prototype files does not work on all platforms

Problem:  Generating prototype files does not work on all platforms
Solution: Rework prototypes generation using python instead of cproto,
          enable it in CI to test it for each PR (Hirohito Higashi).

closes: #18045

Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Hirohito Higashi
2025-10-08 18:31:13 +00:00
committed by Christian Brabandt
parent ce5f9f45af
commit e7c765fe59
160 changed files with 1751 additions and 1551 deletions

View File

@ -56,9 +56,6 @@
# define TEMPNAMELEN 12
#endif
// cproto fails on missing include files
#ifndef PROTO
#include <exec/types.h>
#include <libraries/dos.h>
#include <libraries/dosextens.h>
@ -70,8 +67,6 @@
# include <proto/intuition.h>
#endif
#endif // PROTO
#define FNAME_ILLEGAL ";*?`#%" // illegal characters in a file name
/*
@ -97,7 +92,6 @@ typedef long off_t;
#include <time.h> // for strftime() and others
#ifndef PROTO
/*
* arpbase.h must be included before functions.h
*/
@ -105,8 +99,6 @@ typedef long off_t;
# include <libraries/arpbase.h>
#endif
#endif // PROTO
/*
* This won't be needed if you have a version of Lattice 4.01 without broken
* break signal handling.