devel/cproto 4.7o NetBSD
Generates function prototypes from C source
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- License
- public-domain
- Categories
- devel
- Package size
- 40.7 KiB, 112.5 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.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | devel/cproto | 4.7o |
| FreeBSD | devel/cproto | 4.8a |
| DragonFly | devel/cproto | 4.7x |
| HardenedBSD | devel/cproto | 4.8a |
| GhostBSD | devel/cproto | 4.8a |
Install
Binary package:
pkgin install cproto
From pkgsrc:
cd /usr/pkgsrc/devel/cproto && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 4.7o |
| NetBSD 10.1 aarch64 | 4.7o |
| SmartOS / illumos x86_64 | 4.7o |
| macOS 15 arm64 | 4.7o |
Dependencies
No port depends on this one.