Package: netdiag
Version: 1.1-1
Severity: wishlist
Tags: patch

tcpspray.c:74:3: error: first parameter of 'main' (argument count) must be of 
type 'int'
  main(argc, argv)


diff --git a/tcpspray/tcpspray.c b/tcpspray/tcpspray.c
index 80102c4..257b259 100644
--- a/tcpspray/tcpspray.c
+++ b/tcpspray/tcpspray.c
@@ -72,7 +72,7 @@ typedef int pid_t;

 int
   main(argc, argv)
-unsigned int argc;
+int argc;
 char *argv[];
 {


http://clang.debian.net/status.php?version=3.3&key=WRONG_MAIN_DECLARATION

-- System Information:
Debian Release: 7.1
  APT prefers stable
  APT policy: (700, 'stable'), (400, 'testing'), (1, 'experimental'), (1, 
'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages netdiag depends on:
ii  debconf [debconf-2.0]  1.5.49
ii  libc6                  2.17-92
ii  libncurses5            5.9-10
ii  libpcap0.8             1.3.0-1
ii  libtinfo5              5.9-10
ii  netbase                5.0

netdiag recommends no packages.

netdiag suggests no packages.

-- debconf information excluded


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to