05dd2ea17f
---When you have a large number of or big layout/schematic/TeX files which have possibly many top cells made by other people, how can you manage those layout/schematic/TeXs? FH is written for that. It can be useful up to your imagination or shell programming skill. FH analyses the hidden hierarchies of those cells and shows you the hierarchy information.
42 lines
722 B
C
42 lines
722 B
C
--- findhier.h.orig Sun Apr 29 00:47:16 2007
|
|
+++ findhier.h Sun Apr 29 00:49:02 2007
|
|
@@ -6,6 +6,7 @@
|
|
*
|
|
*/
|
|
#include <stdio.h>
|
|
+#include <stdlib.h>
|
|
#include <string.h>
|
|
#include "fstruct.h"
|
|
|
|
@@ -31,7 +32,7 @@
|
|
|
|
#ifndef isalpha
|
|
#define isalpha(X) ( X>='A' && X<='Z' || X>='a' && X<='z' )
|
|
-#endif isalpha
|
|
+#endif /* isalpha */
|
|
|
|
typedef enum formats { CIF, GDSII, MAGIC, PCSTR, VALID, TeX } FORMAT;
|
|
|
|
@@ -111,19 +112,21 @@
|
|
void exit();
|
|
char *getenv();
|
|
|
|
+/*
|
|
#ifdef SYSV
|
|
void *malloc();
|
|
void free();
|
|
#else
|
|
char *malloc();
|
|
#endif SYSV
|
|
+*/
|
|
#ifdef _UNIX_
|
|
# define OPENMODE "r"
|
|
# define DIRDEL '/'
|
|
#else
|
|
#define OPENMODE "rb"
|
|
#define DIRDEL '\\'
|
|
-#endif _UNIX_
|
|
+#endif /* _UNIX_ */
|
|
/*
|
|
char *getenv();
|
|
*/
|