freebsd-ports/cad/findhier/files/patch-fnames.c
Hiroki Sato 05dd2ea17f FindHier is a road-map generator for Magic/CIF/gdsII/PCSTR/GED/TeX.
---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.
2007-04-28 17:01:15 +00:00

21 lines
354 B
C

--- fnames.c.orig Sun Apr 29 00:51:29 2007
+++ fnames.c Sun Apr 29 00:53:16 2007
@@ -6,15 +6,14 @@
*
*/
#include <stdio.h>
+#include <string.h>
#ifndef DIRDEL
#ifdef _UNIX_
#define DIRDEL '/'
#else
#define DIRDEL '\\'
-#endif _UNIX_
-#endif DIRDEL
-
-int strlen();
+#endif /* _UNIX_ */
+#endif /* DIRDEL */
char *basename(argv)
char *argv;