[Olsr-cvs] olsrd-current/src/bsd apm.c,1.4,1.5

Bernd Petrovitsch (spam-protected)
Tue Nov 27 14:35:08 CET 2007


Update of /cvsroot/olsrd/olsrd-current/src/bsd
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv30878/src/bsd

Modified Files:
	apm.c 
Log Message:
* fixed compile warnings

Index: apm.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/bsd/apm.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** apm.c	27 Feb 2005 10:43:38 -0000	1.4
--- apm.c	27 Nov 2007 13:35:06 -0000	1.5
***************
*** 45,58 ****
  #include <string.h>
  
! int apm_init()
  {
    return -1;
  }
  
! void apm_printinfo(struct olsr_apm_info *ApmInfo)
  {
  }
  
! int apm_read(struct olsr_apm_info *ApmInfo)
  {
    return -1;
--- 45,58 ----
  #include <string.h>
  
! int apm_init(void)
  {
    return -1;
  }
  
! void apm_printinfo(struct olsr_apm_info *ApmInfo __attribute__((unused)))
  {
  }
  
! int apm_read(struct olsr_apm_info *ApmInfo __attribute__((unused)))
  {
    return -1;





More information about the Olsr-cvs mailing list