diff --git a/scsh/aix/sysdep.h b/scsh/aix/sysdep.h deleted file mode 100644 index 3f09423..0000000 --- a/scsh/aix/sysdep.h +++ /dev/null @@ -1,4 +0,0 @@ -#undef HAVE_DLOPEN - -#undef HAVE_TZNAME -#define HAVE_TZNAME diff --git a/scsh/bsd/sysdep.h b/scsh/bsd/sysdep.h deleted file mode 100644 index e69de29..0000000 diff --git a/scsh/bsd/time_dep1.c b/scsh/bsd/time_dep1.c index 87be152..00aadfc 100644 --- a/scsh/bsd/time_dep1.c +++ b/scsh/bsd/time_dep1.c @@ -15,7 +15,6 @@ s48_value time_plus_ticks() { struct timeval t; - struct timezone tz; s48_value sch_tv_sec = S48_UNSPECIFIC; s48_value sch_tv_usec = S48_UNSPECIFIC; s48_value sch_listval = S48_UNSPECIFIC; @@ -24,7 +23,7 @@ s48_value time_plus_ticks() S48_GC_PROTECT_3(sch_tv_sec, sch_tv_usec, sch_listval); - if( gettimeofday(&t, &tz) ) s48_raise_os_error (errno); + if( gettimeofday(&t, NULL) ) s48_raise_os_error (errno); sch_tv_sec = s48_enter_integer(t.tv_sec); diff --git a/scsh/cygwin32/sysdep.h b/scsh/cygwin32/sysdep.h deleted file mode 100644 index 3d683f2..0000000 --- a/scsh/cygwin32/sysdep.h +++ /dev/null @@ -1,2 +0,0 @@ -/* Cygwin's adds _'s but making configure.in know about dlltool seemed evil */ -#define DLSYM_ADDS_USCORE diff --git a/scsh/generic/sysdep.h b/scsh/generic/sysdep.h deleted file mode 100644 index e69de29..0000000 diff --git a/scsh/gnu/sysdep.h b/scsh/gnu/sysdep.h deleted file mode 100644 index c9bd059..0000000 --- a/scsh/gnu/sysdep.h +++ /dev/null @@ -1 +0,0 @@ -/* Make `diff' happy. */ diff --git a/scsh/hpux/sysdep.h b/scsh/hpux/sysdep.h deleted file mode 100644 index e69de29..0000000 diff --git a/scsh/irix/sysdep.h b/scsh/irix/sysdep.h deleted file mode 100644 index e69de29..0000000 diff --git a/scsh/linux/sysdep.h b/scsh/linux/sysdep.h deleted file mode 100644 index e69de29..0000000 diff --git a/scsh/next/sysdep.h b/scsh/next/sysdep.h deleted file mode 100644 index c349f59..0000000 --- a/scsh/next/sysdep.h +++ /dev/null @@ -1,2 +0,0 @@ -#undef HAVE_SIGACTION -#define HAVE_SIGACTION diff --git a/scsh/solaris/sysdep.h b/scsh/solaris/sysdep.h deleted file mode 100644 index a7644ba..0000000 --- a/scsh/solaris/sysdep.h +++ /dev/null @@ -1 +0,0 @@ -#undef HAVE_DLOPEN diff --git a/scsh/sunos/sysdep.h b/scsh/sunos/sysdep.h deleted file mode 100644 index e69de29..0000000 diff --git a/scsh/syscalls1.c b/scsh/syscalls1.c index 5515be6..4df8650 100644 --- a/scsh/syscalls1.c +++ b/scsh/syscalls1.c @@ -671,7 +671,9 @@ s48_value scsh_fsync(s48_value sch_fdes) s48_value scsh_sync() { +#ifdef HAVE_SYNC sync(); +#endif return S48_UNSPECIFIC; }