Package: xsysinfo
Version: 1.7-4
Severity: minor

Hi, this patch fixes some minor compile warnings.

--- xsysinfo.c.orig     2006-08-16 22:59:17.000000000 +0300
+++ xsysinfo.c  2006-08-16 22:58:52.000000000 +0300
@@ -27,6 +27,7 @@
 #include <X11/Xaw/Label.h>
 #include "BarGauge.h"
 #include <stdio.h>
+#include <stdlib.h>
 #include "sysinfo.h"

 #define norm(x,max)    ((max) == 0 ? 0 : (double)(x) / (max))
@@ -325,9 +326,7 @@
        fprintf(stderr,"\nor one of the standard toolkit options.\n\n");
 }

-main( argc, argv )
-       int argc;
-char **argv;
+int main( int argc, char **argv )
 {
        Arg args[1];
        Widget toplevel;
@@ -358,4 +357,5 @@

        XtRealizeWidget(toplevel);
        XtAppMainLoop(context);
+       return 0;
 }


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-686
Locale: LANG=bg_BG, LC_CTYPE=bg_BG (charmap=UTF-8)

Versions of packages xsysinfo depends on:
ii  libc6                        2.3.6-19    GNU C Library: Shared libraries
ii  libice6                      1:1.0.0-3   X11 Inter-Client Exchange library
ii  libsm6                       1:1.0.0-4   X11 Session Management library
ii  libx11-6                     2:1.0.0-8   X11 client-side library
ii  libxaw7                      1:1.0.1-5   X11 Athena Widget library
ii  libxext6                     1:1.0.0-4   X11 miscellaneous extension librar
ii  libxmu6                      1:1.0.1-3   X11 miscellaneous utility library
ii  libxpm4                      1:3.5.4.2-3 X11 pixmap library
ii  libxt6                       1:1.0.0-5   X11 toolkit intrinsics library

xsysinfo recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to