mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.8 KiB

  1. diff -dur isdn4k-utils/hisax/hisaxctrl.c isdn4k-utils-p/hisax/hisaxctrl.c
  2. --- isdn4k-utils/hisax/hisaxctrl.c 2000-06-30 11:37:38.000000000 +0200
  3. +++ isdn4k-utils-p/hisax/hisaxctrl.c 2005-10-21 00:17:49.000000000 +0200
  4. @@ -43,7 +43,7 @@
  5. fprintf(stderr, "cannot open file %s\n", fname);
  6. exit(-1);
  7. }
  8. - p = (int *) buffer = (unsigned char *) malloc(MAX_SIZE+4);
  9. + buffer = p = (unsigned char *) malloc(MAX_SIZE+4);
  10. if (!buffer) {
  11. fprintf(stderr, "cannot get %d byte memory\n", MAX_SIZE+4);
  12. exit(-1);
  13. diff -dur isdn4k-utils/ipppd/main.c isdn4k-utils-p/ipppd/main.c
  14. --- isdn4k-utils/ipppd/main.c 2002-07-18 02:06:21.000000000 +0200
  15. +++ isdn4k-utils-p/ipppd/main.c 2005-10-21 00:19:22.000000000 +0200
  16. @@ -1041,9 +1041,10 @@
  17. static char line[256]; /* line to be logged accumulated here */
  18. static char *linep;
  19. +static void pr_log __P((void *, char *, ...));
  20. +
  21. void log_packet(u_char *p,int len,char *prefix,int linkunit)
  22. {
  23. - static void pr_log __P((void *, char *, ...));
  24. int i, n;
  25. u_short proto;
  26. diff -dur isdn4k-utils/isdnlog/tools/isdnrate.c isdn4k-utils-p/isdnlog/tools/isdnrate.c
  27. --- isdn4k-utils/isdnlog/tools/isdnrate.c 2001-06-21 18:34:56.000000000 +0200
  28. +++ isdn4k-utils-p/isdnlog/tools/isdnrate.c 2005-10-21 00:12:22.000000000 +0200
  29. @@ -304,7 +304,7 @@
  30. static void print_header(void);
  31. -static char *myname, *myshortname;
  32. +char *myname, *myshortname;
  33. static char options[] = "ab:d:f:h:l:op:st:v::x:CD::G:HLNP:O:S:TUVX::Z";
  34. static char usage[] = "%s: usage: %s [ -%s ] Destination ...\n";
  35. @@ -313,7 +313,8 @@
  36. static int usestat = 0;
  37. static int duration = LCR_DURATION;
  38. static time_t start;
  39. -static int day, month, year, hour, min, sec;
  40. +int day, month, hour;
  41. +static int year, min, sec;
  42. static char ignore[MAXPROVIDER];
  43. static char *fromarea = 0;
  44. static char wanted_day;