cvs ax25-apps: patch to fix warnings

From: Hans Grobler (terhi.victor@logonet.com)
Date: Sat Dec 16 2000 - 19:50:31 EET

  • Next message: Hans Grobler: "af_rose.c-2.4.0-test13-pre2-patch-v1"

    Hi Craig,

    This fixes some warnings with newer gcc's.

    Keep well.
    -- Hans

    diff -u3Nr ax25-apps/ax25rtd/ax25rtd.c ax25-apps.new/ax25rtd/ax25rtd.c
    --- ax25-apps/ax25rtd/ax25rtd.c Wed May 31 07:51:34 2000
    +++ ax25-apps.new/ax25rtd/ax25rtd.c Sat Dec 16 19:40:46 2000
    @@ -28,6 +28,7 @@
      *
      */

    +#include <stdlib.h>
     #include <stdio.h>
     #include <unistd.h>
     #include <signal.h>
    diff -u3Nr ax25-apps/call/menu.c ax25-apps.new/call/menu.c
    --- ax25-apps/call/menu.c Wed May 3 04:43:50 2000
    +++ ax25-apps.new/call/menu.c Sat Dec 16 19:41:11 2000
    @@ -8,6 +8,7 @@

     #include <curses.h>
     #include <stdlib.h>
    +#include <string.h>
     #include "menu.h"

     typedef struct
    diff -u3Nr ax25-apps/listen/nrdump.c ax25-apps.new/listen/nrdump.c
    --- ax25-apps/listen/nrdump.c Wed May 3 04:43:52 2000
    +++ ax25-apps.new/listen/nrdump.c Sat Dec 16 19:41:43 2000
    @@ -4,6 +4,7 @@
      * Copyright 1991 Phil Karn, KA9Q
      */
     #include <stdio.h>
    +#include <string.h>
     #include "listen.h"

     #define AXLEN 7

    -
    To unsubscribe from this list: send the line "unsubscribe linux-hams" in
    the body of a message to cmmbhpi@fltg.net



    This archive was generated by hypermail 2b30 : Sat Dec 16 2000 - 19:51:42 EET