Fixed problems with #ifndef guards and include order.

This commit is contained in:
Andrew Johnson
2007-02-09 18:19:26 +00:00
parent 702305896c
commit 60425a2771
3 changed files with 15 additions and 25 deletions
+5 -8
View File
@@ -1,17 +1,14 @@
/*************************************************************************\
* Copyright (c) 2002 The University of Chicago, as Operator of Argonne
* Copyright (c) 2007 UChicago Argonne LLC, as Operator of Argonne
* National Laboratory.
* Copyright (c) 2002 The Regents of the University of California, as
* Operator of Los Alamos National Laboratory.
* EPICS BASE Versions 3.13.7
* and higher are distributed subject to a Software License Agreement found
* EPICS BASE is distributed subject to a Software License Agreement found
* in file LICENSE that is included with this distribution.
\*************************************************************************/
/* dbCaTest.h */
/* Author: Marty Kraimer Date: 25FEB2000 */
#ifndef INCdbTesth
#define INCdbTesth 1
#ifndef INC_dbCaTest_H
#define INC_dbCaTest_H
#include "shareLib.h"
@@ -25,4 +22,4 @@ epicsShareFunc long epicsShareAPI dbcar(char *recordname,int level);
}
#endif
#endif /*INCdbTesth */
#endif /* INC_dbCaTest_H */
+6 -11
View File
@@ -1,28 +1,23 @@
/*************************************************************************\
* Copyright (c) 2002 The University of Chicago, as Operator of Argonne
* Copyright (c) 2007 UChicago Argonne LLC, as Operator of Argonne
* National Laboratory.
* Copyright (c) 2002 The Regents of the University of California, as
* Operator of Los Alamos National Laboratory.
* EPICS BASE Versions 3.13.7
* and higher are distributed subject to a Software License Agreement found
* EPICS BASE is distributed subject to a Software License Agreement found
* in file LICENSE that is included with this distribution.
\*************************************************************************/
/* dbTest.h */
/* Author: Marty Kraimer Date: 25FEB2000 */
#ifndef INCdbTesth
#define INCdbTesth 1
#ifndef INC_dbTest_H
#define INC_dbTest_H
#include "shareLib.h"
#include "shareLib.h"
#ifdef __cplusplus
extern "C" {
#endif
/*dbAddr info */
epicsShareFunc long epicsShareAPI dba(const char*pname);
epicsShareFunc long epicsShareAPI dba(const char *pname);
/*list records*/
epicsShareFunc long epicsShareAPI dbl(
const char *precordTypename,const char *fields);
@@ -52,4 +47,4 @@ epicsShareFunc int epicsShareAPI dbhcr();
}
#endif
#endif /*INCdbTesth */
#endif /* INC_dbTest_H */
+4 -6
View File
@@ -1,23 +1,21 @@
/*************************************************************************\
* Copyright (c) 2002 The University of Chicago, as Operator of Argonne
* Copyright (c) 2007 UChicago Argonne LLC, as Operator of Argonne
* National Laboratory.
* Copyright (c) 2002 The Regents of the University of California, as
* Operator of Los Alamos National Laboratory.
* EPICS BASE Versions 3.13.7
* and higher are distributed subject to a Software License Agreement found
* EPICS BASE is distributed subject to a Software License Agreement found
* in file LICENSE that is included with this distribution.
\*************************************************************************/
/* base/include/db_test.h */
#ifndef INCLdb_testh
#define INCLdb_testh
#include "shareLib.h"
#ifdef __cplusplus
extern "C" {
#endif
#include "shareLib.h"
epicsShareFunc int epicsShareAPI gft(char *pname);
epicsShareFunc int epicsShareAPI pft(char *pname,char *pvalue);
epicsShareFunc int epicsShareAPI tpn(char *pname,char *pvalue);