minor svr4 fixes
diff --git a/ChangeLog b/ChangeLog
index 1785bd2..eeeda9f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2001-03-07 John Hughes <john@Calva.COM>
+ * svr4/dummy.h: fix multiple define warning on non LFS64 systems.
+ * svr4/syscallent.h: pread/pwrite are TF calls.
+
+2001-03-07 John Hughes <john@Calva.COM>
+
* defs.h: add ALIGN64 macro to cope with FreeBSD's strange insistence
on alignment for off_t (64 bit) arguments. Also simplify get64 so
we don't need to know endianness of long long.
diff --git a/svr4/dummy.h b/svr4/dummy.h
index 73c4cce..616e86a 100644
--- a/svr4/dummy.h
+++ b/svr4/dummy.h
@@ -109,9 +109,6 @@
#define sys_lwp_cond_wait printargs
#define sys_lwp_cond_signal printargs
#define sys_lwp_cond_broadcast printargs
-#if !_LFS64_LARGEFILE
-#define sys_llseek printargs
-#endif
#define sys_inst_sync printargs
#define sys_auditsys printargs
#define sys_processor_bind printargs
@@ -273,6 +270,7 @@
#define sys_pwrite64 printargs
#define sys_ftruncate64 printargs
#define sys_truncate64 printargs
+#define sys_lseek64 printargs
#endif
/* unimplemented 64-bit stuff */
diff --git a/svr4/syscallent.h b/svr4/syscallent.h
index 4f85238..19f177f 100644
--- a/svr4/syscallent.h
+++ b/svr4/syscallent.h
@@ -550,8 +550,8 @@
{ -1, 0, sys_lwp_cond_wait, "lwp_cond_wait"}, /* 170 */
{ -1, 0, sys_lwp_cond_signal, "lwp_cond_signal"}, /* 171 */
{ -1, 0, sys_lwp_cond_broadcast, "lwp_cond_broadcast"}, /* 172 */
- { -1, 0, sys_pread, "pread" }, /* 173 */
- { -1, 0, sys_pwrite, "pwrite" }, /* 174 */
+ { -1, TF, sys_pread, "pread" }, /* 173 */
+ { -1, TF, sys_pwrite, "pwrite" }, /* 174 */
{ -1, 0, sys_llseek, "llseek" }, /* 175 */
{ -1, 0, sys_inst_sync, "inst_sync" }, /* 176 */
{ -1, 0, printargs, "srmlimitsys" }, /* 177 */