1
0
mirror of https://github.com/preble/libpinproc synced 2026-02-24 18:25:23 +01:00

Added include guards

This commit is contained in:
Gerry Stellenberg
2011-01-16 09:39:36 -06:00
parent aa1d3649ba
commit f198a341f8
7 changed files with 96 additions and 70 deletions

View File

@@ -27,6 +27,12 @@
* pinproctest.cpp
* libpinproc
*/
#ifndef PINPROCTEST_PINPROCTEST_H
#define PINPROCTEST_PINPROCTEST_H
#if !defined(__GNUC__) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || (__GNUC__ >= 4) // GCC supports "pragma once" correctly since 3.4
#pragma once
#endif
#include <string.h>
#include <stdio.h>
#include <signal.h>
@@ -75,3 +81,5 @@ void ConfigureDMD(PRHandle proc);
void UpdateDots(unsigned char * dots, unsigned int dotOffset);
void UpdateAlphaDisplay(PRHandle, int);
#endif /* PINPROCTEST_PINPROCTEST_H */