devel/cproto 4.7x DragonFly
Generate C function prototypes and convert function definitions
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- PD
- Categories
- devel
- Package size
- 38.1 KiB, 95.2 KiB installed
Description
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.
The program isn't confused by complex function definitions as much as other prototype generators because it uses a yacc generated parser. By ignoring all the input between braces, I avoided implementing the entire C language grammar.
Cproto is in the public domain, except for the configure script which is copyrighted by the Free Software Foundation, Inc. If you have any comments or find any bugs, please let me know.
In the other systems
The newest version among them is 4.8a, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| DragonFly | devel/cproto | 4.7x behind since 2026-07-29 | none known | - | [email protected] | - |
| FreeBSD | devel/cproto | 4.8a newest | none known | - | [email protected] | 2026-07-29 |
| NetBSD | devel/cproto | 4.7o behind since 2026-07-29 | none known | - | [email protected] | - |
| HardenedBSD | devel/cproto | 4.8a newest | no data | - | [email protected] | - |
| GhostBSD | devel/cproto | 4.8a newest | no data | - | [email protected] | - |
Install
Binary package:
pkg install cproto
From DPorts:
cd /usr/dports/devel/cproto && make install clean
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.