diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2017-07-26 00:21:27 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2017-07-26 00:21:27 +0200 |
commit | 09e3a4e4ec17102e6daeee792ae02c1a8601b5eb (patch) | |
tree | 32869329983e79a8a80357600057f2abf4e43343 /ax25-apps.spec.in | |
parent | 02450385adc79578ac67c8ebb6d4417df69377b1 (diff) |
ax25ipd: Fix glibc feature selection macros.
This fixes the following warnings:
gcc -DHAVE_CONFIG_H -I. -I.. -DAX25_SYSCONFDIR=\""/usr/local/etc/ax25"\" -DAX25_LOCALSTATEDIR=\""/usr/local/var/ax25"\" -g -O2 -Wall -MT io.o -MD -MP -MF .deps/io.Tpo -c -o io.o io.c
io.c: In function ‘io_open’:
io.c:324:18: warning: implicit declaration of function ‘ptsname’; did you mean ‘ttyname’? [-Wimplicit-function-declaration]
if ((namepts = ptsname(ttyfd)) == NULL) {
^~~~~~~
ttyname
io.c:324:16: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
if ((namepts = ptsname(ttyfd)) == NULL) {
^
io.c:329:7: warning: implicit declaration of function ‘unlockpt’; did you mean ‘unlinkat’? [-Wimplicit-function-declaration]
if (unlockpt(ttyfd) == -1) {
^~~~~~~~
unlinkat
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'ax25-apps.spec.in')
0 files changed, 0 insertions, 0 deletions