lkml.org 
[lkml]   [1996]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: Linux 1.3.78 and unistd.h
Probably totally unnecessary, but here's a little patch to automagically 
munge <stdlib.h> for y'all.

--- unistd.h.orig Tue Mar 26 07:29:03 1996
+++ unistd.h Tue Mar 26 07:30:13 1996
@@ -131,11 +131,11 @@
extern __off_t __lseek __P ((int __fd, __off_t __offset, int __whence));
extern __off_t lseek __P ((int __fd, __off_t __offset, int __whence));

-#if defined(__USE_MISC) && defined(__GNUC__) && !defined(__STRICT_ANSI__)
+/*#if defined(__USE_MISC) && defined(__GNUC__) && !defined(__STRICT_ANSI__)*/
/* This is for Linux. */
-extern __loff_t __llseek __P ((int __fd, __loff_t __offset, int __whence));
-extern __loff_t llseek __P ((int __fd, __loff_t __offset, int __whence));
-#endif
+/*extern __loff_t __llseek __P ((int __fd, __loff_t __offset, int __whence));*/
+/*extern __loff_t llseek __P ((int __fd, __loff_t __offset, int __whence));*/
+/*#endif*/

/* Close the file descriptor FD. */
extern int __close __P ((int __fd));
--
J. Sean Connell diamond@ihug.co.nz
System Administrator, Mondo Computer Services I *hate* lag!

\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.021 / U:0.700 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site