cproto

utilities to generate C function prototypes from C source code

Install

All systems
curl cmd.cat/cproto.sh
Debian Debian
apt-get install cproto
Ubuntu
apt-get install cproto
image/svg+xml Kali Linux
apt-get install cproto
Fedora
dnf install cproto
Windows (WSL2)
sudo apt-get update sudo apt-get install cproto
OS X
brew install cproto
Raspbian
apt-get install cproto

cproto

utilities to generate C function prototypes from C source code

Cproto is a program that generates function prototypes and variable declarations from C source code. It can also convert function definitions between the old style and the ANSI C style. This conversion overwrites the original files, so make a backup copy of your files in case something goes wrong.