Some time before working on cproto, I had hand-built lint-libraries for X11 on SunOS. The vendor did not distribute usable lint-libraries: the corresponding ".ln" files were zero-length, and there were no text-files to match. Moreover, X11 did not build lint-libraries that matched the sources (many functions were missing or had different parameters).
To complicate matters, I was developing with both the public
X Consortium code and a distribution of Motif.
The latter introduced the XtInherit
design flaw which was topical about fourteen years later
in the XFree86/Xorg split.
None of the Motif distribution's libraries had lint libraries,
but equivalents could be constructed from the header files.
Since the llib-* text files are basically the ".c" files with the function-bodies emptied, it was possible to edit them and produce correct lint library source.
But that is very time-consuming, and not something that I would do more than once. Modifying cproto was a better solution; I used the resulting lint-libraries for several years.
lua, which is unrelated.
Currently I use cproto to generate lint-libraries for ncurses. I also make occasional fixes, e.g., "4.7a". See the changelog for details.