From ebc180a2b79913557f7872dbfe12f922f1fdf0e1 Mon Sep 17 00:00:00 2001 From: "greg@kroah.com" Date: Wed, 12 Nov 2003 03:33:44 -0800 Subject: [PATCH] [PATCH] add prototype for ftruncate to klibc --- klibc/klibc/include/unistd.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/klibc/klibc/include/unistd.h b/klibc/klibc/include/unistd.h index a9b434c1..3c51c497 100644 --- a/klibc/klibc/include/unistd.h +++ b/klibc/klibc/include/unistd.h @@ -103,6 +103,8 @@ __extern int optind, opterr, optopt; __extern int isatty(int); +__extern int ftruncate(int, off_t); + /* Standard file descriptor numbers. */ #define STDIN_FILENO 0 #define STDOUT_FILENO 1 -- 2.39.5