[Olsr-cvs] olsrd-current/lib/quagga/src quagga.c,1.8,1.9

Bernd Petrovitsch (spam-protected)
Wed Oct 10 23:29:50 CEST 2007


Update of /cvsroot/olsrd/olsrd-current/lib/quagga/src
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv7036/lib/quagga/src

Modified Files:
	quagga.c 
Log Message:
* killed warnings - all are trivial

Index: quagga.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/lib/quagga/src/quagga.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** quagga.c	10 Oct 2007 21:24:54 -0000	1.8
--- quagga.c	10 Oct 2007 21:29:48 -0000	1.9
***************
*** 397,401 ****
  
  /* Check wether there is data from zebra aviable */
! void zebra_check (void* foo) {
    unsigned char *data, *f;
    ssize_t len, ret;
--- 397,401 ----
  
  /* Check wether there is data from zebra aviable */
! void zebra_check (void* foo __attribute__((unused))) {
    unsigned char *data, *f;
    ssize_t len, ret;
***************
*** 495,499 ****
    
    if (maxlen < length) {
!     olsr_printf (1, "(QUAGGA) maxlen = %d, packet_length = %d\n", maxlen, length);
      olsr_exit ("(QUAGGA) programmer is an idiot", EXIT_FAILURE);
    }
--- 495,499 ----
    
    if (maxlen < length) {
!     olsr_printf (1, "(QUAGGA) maxlen = %lu, packet_length = %d\n", (unsigned long)maxlen, length);
      olsr_exit ("(QUAGGA) programmer is an idiot", EXIT_FAILURE);
    }
***************
*** 525,529 ****
  
  
! static int parse_interface_add (unsigned char *opt, size_t len) {
    //todo
    return 0;
--- 525,529 ----
  
  
! static int parse_interface_add (unsigned char *opt __attribute__((unused)), size_t len __attribute__((unused))) {
    //todo
    return 0;
***************
*** 531,535 ****
  
  
! static int parse_interface_delete (unsigned char *opt, size_t len) {
    //todo
    return 0;
--- 531,535 ----
  
  
! static int parse_interface_delete (unsigned char *opt __attribute__((unused)), size_t len __attribute__((unused))) {
    //todo
    return 0;
***************
*** 537,541 ****
  
  
! static int parse_interface_address_add (unsigned char *opt, size_t len) {
    
    //todo
--- 537,541 ----
  
  
! static int parse_interface_address_add (unsigned char *opt __attribute__((unused)), size_t len __attribute__((unused))) {
    
    //todo
***************
*** 543,547 ****
  }
  
! static int parse_interface_up (unsigned char *opt, size_t len) {
    
    //todo
--- 543,547 ----
  }
  
! static int parse_interface_up (unsigned char *opt __attribute__((unused)), size_t len __attribute__((unused))) {
    
    //todo
***************
*** 549,553 ****
  }
  
! static int parse_interface_down (unsigned char *opt, size_t len) {
    
    //todo
--- 549,553 ----
  }
  
! static int parse_interface_down (unsigned char *opt __attribute__((unused)), size_t len __attribute__((unused))) {
    
    //todo
***************
*** 556,560 ****
  
  
! static int parse_interface_address_delete (unsigned char *opt, size_t  len) {
    //todo
    return 0;
--- 556,560 ----
  
  
! static int parse_interface_address_delete (unsigned char *opt __attribute__((unused)), size_t  len __attribute__((unused))) {
    //todo
    return 0;
***************
*** 645,649 ****
  }
  
! static int parse_ipv6_route_add (unsigned char *opt, size_t len) {
    //todo
    return 0;
--- 645,649 ----
  }
  
! static int parse_ipv6_route_add (unsigned char *opt __attribute__((unused)), size_t len __attribute__((unused))) {
    //todo
    return 0;





More information about the Olsr-cvs mailing list