Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions include/date.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#define DATE "@(#) Yale compilation date:Mon May 25 21:15:08 EDT 1992"
2 changes: 1 addition & 1 deletion include/yalecad/base.h
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ typedef long SHORT_LONG ;

#endif /* ultrix, linux */

#if defined(THINK_C) || defined(linux)
#if defined(THINK_C) || defined(linux) || __APPLE__
#define PROTOTYPES_OK
#endif /* Mac, linux */

Expand Down
2 changes: 1 addition & 1 deletion src/Ylib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#add_executable(mincut main.c output.c readcells.c ${CMAKE_SOURCE_DIR}/src/date/date.c)


add_library(ycadgraywolf SHARED assign.c buster.c cleanup.c colors.c deck.c dialog.c draw.c dset.c edcolors.c file.c getftime.c graph.c grid.c hash.c heap.c list.c log.c menus.c message.c mst.c mytime.c okmalloc.c path.c plot.c program.c project.c queue.c quicksort.c radixsort.c rand.c rbtree.c relpath.c set.c stat.c stats.c string.c system.c time.c timer.c trans.c wgraphics.c ydebug.c yreadpar.c )
add_library(ycadgraywolf SHARED assign.c buster.c cleanup.c colors.c deck.c dialog.c draw.c dset.c edcolors.c file.c getftime.c graph.c grid.c hash.c heap.c list.c log.c menus.c message.c mst.c mytime.c okmalloc.c path.c plot.c program.c project.c queue.c quicksort.c radixsort.c rand.c rbtree.c relpath.c set.c stat.c stats.c string.c system.c time.c timer.c trans.c wgraphics.c ydebug.c yreadpar.c ${CMAKE_SOURCE_DIR}/src/date/date.c)

target_link_libraries(ycadgraywolf ${X11_LIBRARIES})
target_link_libraries(ycadgraywolf m)
Expand Down
2 changes: 1 addition & 1 deletion src/Ylib/relpath.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ char *known_path, *rel_path ; /* known path and relative path to it */
char known_fpath[LRECL] ; /* full path of known obj */
char *ptr ; /* used to replace obj with relative path */
char *result ; /* resulting path */
char *Yfixpath(), *strrchr(), *strcat() ;
char *Yfixpath()/*, *strrchr(), *strcat()*/ ;
INT up ; /* keeps count of backtracking up dir tree */

/* make a copy of path */
Expand Down