summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2003-11-12 03:33:44 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:06:23 -0700
commitebc180a2b79913557f7872dbfe12f922f1fdf0e1 (patch)
tree75cf3911eb77185c970509f5e94164432fa769d3
parentb80d82bced57930d6a79487a413418eb9d01344c (diff)
[PATCH] add prototype for ftruncate to klibc
-rw-r--r--klibc/klibc/include/unistd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/klibc/klibc/include/unistd.h b/klibc/klibc/include/unistd.h
index a9b434c16b..3c51c497a7 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