Date:2012-07-12 05:25:43 (11 years 8 months ago)
Author:Werner Almesberger
Commit:9c0a43e29b1217e72ecfc563c5259beac9aafea4
Message:gencat/: minor cleanup (one comment, add "static", remove unused header)

Files: gencat/comp.c (2 diffs)
gencat/libs.h (1 diff)

Change Details

gencat/comp.c
1414#include <ctype.h>
1515#include <string.h>
1616
17#include "util.h"
1817#include "run.h"
1918#include "libs.h"
2019
...... 
7877}
7978
8079
81void comp_ps_entry(FILE *file, const struct lib *lib,
80static void comp_ps_entry(FILE *file, const struct lib *lib,
8281    const struct entry *e, int unit)
8382{
8483    run_cmd("sym2xps '%s' '%s' %d '%s' '%s'",
gencat/libs.h
3232};
3333
3434struct lib {
35    const char *ext; /* file extension, ".lib" or ".mod" */
35    const char *ext; /* file extension, ".lib" or ".fpd" */
3636    void (*add_lib)(struct lib *lib, const char *path);
3737    void (*ps_entry)(FILE *file, const struct lib *lib,
3838        const struct entry *e, int unit);

Archive Download the corresponding diff file

Branches:
master



interactive