Slightly more consistent #include-guard naming.

This commit is contained in:
Uwe Hermann 2011-01-15 14:41:57 +01:00
parent 917e0e71d5
commit c2bd92ec08
6 changed files with 12 additions and 14 deletions

View File

@ -19,8 +19,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef ASIX_SIGMA_H
#define ASIX_SIGMA_H
#ifndef SIGROK_ASIX_SIGMA_H
#define SIGROK_ASIX_SIGMA_H
enum sigma_write_register {
WRITE_CLOCK_SELECT = 0,

View File

@ -17,8 +17,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef LINK_MSO19_H
#define LINK_MSO19_H
#ifndef SIGROK_LINK_MSO19_H
#define SIGROK_LINK_MSO19_H
/* our private per-instance data */
struct mso {

View File

@ -29,8 +29,8 @@
* THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef ANALYZER_H__
#define ANALYZER_H__
#ifndef SIGROK_ZEROPLUS_ANALYZER_H
#define SIGROK_ZEROPLUS_ANALYZER_H
#include <libusb.h>

View File

@ -29,8 +29,8 @@
* THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef GL_H__
#define GL_G__
#ifndef SIGROK_ZEROPLUS_GL_H
#define SIGROK_ZEROPLUS_GL_H
#include <libusb.h>

View File

@ -17,9 +17,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SIGROK_PROTO_H_
#define SIGROK_PROTO_H_
#ifndef SIGROK_SIGROK_PROTO_H
#define SIGROK_SIGROK_PROTO_H
int filter_probes(int in_unitsize, int out_unitsize, int *probelist,
char *data_in, uint64_t length_in, char **data_out,
@ -28,7 +27,6 @@ int filter_probes(int in_unitsize, int out_unitsize, int *probelist,
char *sigrok_samplerate_string(uint64_t samplerate);
char *sigrok_period_string(uint64_t frequency);
/*--- backend.c -------------------------------------------------------------*/
int sigrok_init(void);
@ -146,5 +144,4 @@ int datastore_destroy(struct datastore *ds);
void datastore_put(struct datastore *ds, void *data, unsigned int length,
int in_unitsize, int *probelist);
#endif /* SIGROK_PROTO_H_ */
#endif

View File

@ -347,4 +347,5 @@ struct session {
};
#include "sigrok-proto.h"
#endif