diff options
author | Chris Kuethe <chris.kuethe@gmail.com> | 2008-08-03 16:42:57 +0000 |
---|---|---|
committer | Chris Kuethe <chris.kuethe@gmail.com> | 2008-08-03 16:42:57 +0000 |
commit | f5e46a580df6fbf49f804d9b32c61abdfe4cf898 (patch) | |
tree | fd30dcc21493a7ddb14b648303167381308f6cd7 /crc24q.h | |
parent | 3ca39fe6c88d372412a6f1812568c42f4abe3ff9 (diff) | |
download | gpsd-f5e46a580df6fbf49f804d9b32c61abdfe4cf898.tar.gz |
Unify the header protection macro style a bit.
Headers likely to be private to gpsd are prefixed with _GPSD_,
reusable ones like crc24q.h don't get the _GPSD_ prefix. Protection
macro goes right up near the top of the file, right after the SVN id,
and it's closure is the last line of the file.
Diffstat (limited to 'crc24q.h')
-rw-r--r-- | crc24q.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,7 @@ +/* $Id$ */ +#ifndef _CRC24Q_H_ +#define _CRC24Q_H_ + /* Interface for CRC-24Q cyclic redundancy chercksum code */ extern void crc24q_sign(unsigned char *data, int len); @@ -5,3 +9,4 @@ extern void crc24q_sign(unsigned char *data, int len); extern bool crc24q_check(unsigned char *data, int len); extern unsigned crc24q_hash(unsigned char *data, int len); +#endif /* _CRC24Q_H_ */ |