mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-19 06:36:15 +02:00
gencat/: minor cleanup (one comment, add "static", remove unused header)
This commit is contained in:
parent
463e8dcac4
commit
9c0a43e29b
@ -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'",
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user