libbsp/shared/vmeUniverse: Fix warnings

This commit is contained in:
Joel Sherrill
2014-10-13 10:30:09 -05:00
parent fb252a684b
commit d7760ac8d3
3 changed files with 9 additions and 3 deletions

View File

@@ -297,6 +297,11 @@ BSP_VMEDmaListRefresh(BSP_VMEDmaListDescriptor anchor);
int
BSP_VMEDmaListStart(int channel, BSP_VMEDmaListDescriptor list);
#ifdef DEBUG
void
BSP_VMEDmaListDump(BSP_VMEDmaListDescriptor p);
#endif
#ifdef __cplusplus
}
#endif

View File

@@ -52,10 +52,11 @@
#include <stdio.h>
#include <string.h>
#define DEBUG
#include <bsp/VMEDMA.h>
#include <bsp/bspVmeDmaList.h>
#include "bspVmeDmaListP.h"
#define DEBUG
typedef struct VMEDmaListNodeRec_ {
VMEDmaListNode p, n; /* linkage */
@@ -283,7 +284,7 @@ VMEDmaListNode d = p;
}
BSP_VMEDmaListDescriptor
BSP_VMEDmaDescriptorPrev(BSP_VMEDmaListDescriptor p)
BSP_VMEDmaListDescriptorPrev(BSP_VMEDmaListDescriptor p)
{
VMEDmaListNode d = p;
return d->p;

View File

@@ -312,7 +312,7 @@ va_list ap;
va_end(ap);
}
int
static int
vmeUniverseFindPciBase(
int instance,
volatile LERegister **pbase