Bug#435021: libc6.1-dev: [alpha] unistd.h does not contain exit() prototype
Subject: libc6.1-dev: [alpha] unistd.h does not contain exit() prototype
Package: libc6.1-dev
Version: 2.6-4
Severity: normal
*** Please type your report below this line ***
mroos@alpha:~$ cat exittest.c
#include <unistd.h>
int main ()
{
exit(0);
}
mroos@alpha:~$ LANG=C gcc -o exittest exittest.c
exittest.c: In function 'main':
exittest.c:4: warning: incompatible implicit declaration of built-in function 'exit'
So it seems that unistd.h does not contain exit() prototype on alpha.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: alpha
Kernel: Linux 2.6.22-1-alpha-generic
Locale: LANG=et_EE.ISO-8859-15, LC_CTYPE=et_EE.ISO-8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash
Versions of packages libc6.1-dev depends on:
ii libc6.1 2.6-4 GNU C Library: Shared libraries
ii linux-libc-dev 2.6.22-2 Linux Kernel Headers for developme
Versions of packages libc6.1-dev recommends:
ii gcc [c-compiler] 4:4.1.2-3 The GNU C compiler
ii gcc-4.1 [c-compiler] 4.1.2-14 The GNU C compiler
-- no debconf information
--
Meelis Roos (mroos@linux.ee)
Reply to: