1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-10-01 12:09:49 +03:00

gencat/: minor cleanup (one comment, add "static", remove unused header)

This commit is contained in:
Werner Almesberger 2012-07-12 00:25:43 -03:00
parent 463e8dcac4
commit 9c0a43e29b
2 changed files with 2 additions and 3 deletions

View File

@ -14,7 +14,6 @@
#include <ctype.h>
#include <string.h>
#include "util.h"
#include "run.h"
#include "libs.h"
@ -78,7 +77,7 @@ static void comp_add_lib(struct lib *lib, const char *path)
}
void comp_ps_entry(FILE *file, const struct lib *lib,
static void comp_ps_entry(FILE *file, const struct lib *lib,
const struct entry *e, int unit)
{
run_cmd("sym2xps '%s' '%s' %d '%s' '%s'",

View File

@ -32,7 +32,7 @@ struct file {
};
struct lib {
const char *ext; /* file extension, ".lib" or ".mod" */
const char *ext; /* file extension, ".lib" or ".fpd" */
void (*add_lib)(struct lib *lib, const char *path);
void (*ps_entry)(FILE *file, const struct lib *lib,
const struct entry *e, int unit);