commit | bd77d49812bb2eea20151c11041124b6d316c75e | [log] [tgz] |
---|---|---|
author | Jing Yu <jingyu@google.com> | Thu May 20 20:25:48 2010 -0700 |
committer | Jing Yu <jingyu@google.com> | Fri May 21 10:18:53 2010 -0700 |
tree | 36491c3993e8c9f38f8e606b0ab1f013364fece3 | |
parent | d11b2bd596e2b258cdd9d6b3c1c1a53f9f280b1e [diff] |
Remove a gcc-4.5 compilation warning: bionic/libc/include/../include/stdlib.h: In function 'int grantpt(int)': bionic/libc/include/../include/stdlib.h:138:23: warning: parameter '__fd' set but not used [-Wunused-but-set-parameter] By adding __attribute((unused)) to __fd, the warning is gone, and this attribute is compatible with gcc-4.4.0, gcc-4.3.1 gcc-4.2.1. There is no any side effect. Change-Id: Id9d2b0aeefdd9c37132da0f00c48387f7d897e83