chiark / gitweb /
[PATCH] add prototype for ftruncate to klibc
authorgreg@kroah.com <greg@kroah.com>
Wed, 12 Nov 2003 11:33:44 +0000 (03:33 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:06:23 +0000 (21:06 -0700)
klibc/klibc/include/unistd.h

index a9b434c16b959895a14f976aab159a06cae2ba6b..3c51c497a7c5a41a9efb0bd41148fc2d57e91fd7 100644 (file)
@@ -103,6 +103,8 @@ __extern int optind, opterr, optopt;
 
 __extern int isatty(int);
 
 
 __extern int isatty(int);
 
+__extern int ftruncate(int, off_t);
+
 /* Standard file descriptor numbers. */
 #define STDIN_FILENO   0
 #define STDOUT_FILENO  1
 /* Standard file descriptor numbers. */
 #define STDIN_FILENO   0
 #define STDOUT_FILENO  1