scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

commit 386348fd48c5fcbc7cc022c9389f2bf7cba7ed2c
parent bae24ac8e257fb16a2500a3edc4b4f50808cdc65
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Sun, 10 Feb 2019 12:11:14 +0000

[libmach] Add skeleton for foridx()

Diffstat:
Asrc/libmach/foridx.c | 11+++++++++++
1 file changed, 11 insertions(+), 0 deletions(-)

diff --git a/src/libmach/foridx.c b/src/libmach/foridx.c @@ -0,0 +1,11 @@ +#include <stdio.h> +#include <scc/mach.h> + +#include "libmach.h" + +int +foridx(FILE *fp, int (*fn)(Objsymdef *, void *), void *data) +{ + /* TODO */ + return 0; +}