am da3019b5: libc: add missing truncate() declaration

Merge commit 'da3019b55305ce51b1b483d8727641e791ce0941' into gingerbread-plus-aosp

* commit 'da3019b55305ce51b1b483d8727641e791ce0941':
  libc: add missing truncate() declaration
This commit is contained in:
David 'Digit' Turner 2010-06-11 14:42:58 -07:00 committed by Android Git Automerger
commit ef5f1ec301
2 changed files with 4 additions and 0 deletions

View File

@ -18,6 +18,9 @@ Differences between current and Android 2.2:
- <termio.h>: added missing header (just includes <termios.h>)
- <unistd.h>: add missing declaration for truncate(). The implementation
was already here since Android 1.5.
-------------------------------------------------------------------------------
Differences between Android 2.2. and Android 2.1:

View File

@ -124,6 +124,7 @@ extern int readlink(const char *, char *, size_t);
extern int chown(const char *, uid_t, gid_t);
extern int fchown(int, uid_t, gid_t);
extern int lchown(const char *, uid_t, gid_t);
extern int truncate(const char *, off_t);
extern char *getcwd(char *, size_t);
extern int sync(void);