summaryrefslogtreecommitdiff
path: root/libgpsmm.h
diff options
context:
space:
mode:
authorChris Kuethe <chris.kuethe@gmail.com>2008-08-03 16:42:57 +0000
committerChris Kuethe <chris.kuethe@gmail.com>2008-08-03 16:42:57 +0000
commitf5e46a580df6fbf49f804d9b32c61abdfe4cf898 (patch)
treefd30dcc21493a7ddb14b648303167381308f6cd7 /libgpsmm.h
parent3ca39fe6c88d372412a6f1812568c42f4abe3ff9 (diff)
downloadgpsd-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 'libgpsmm.h')
-rw-r--r--libgpsmm.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libgpsmm.h b/libgpsmm.h
index d6610d98..294e77c9 100644
--- a/libgpsmm.h
+++ b/libgpsmm.h
@@ -1,4 +1,7 @@
/* $Id$ */
+#ifndef _GPSD_GPSMM_H_
+#define _GPSD_GPSMM_H_
+
/*
* Copyright (C) 2005 Alfredo Pironti
*
@@ -6,9 +9,6 @@
* file "COPYING" for more information.
*
*/
-#ifndef _GPSMM_H_
-#define _GPSMM_H_
-
#include <sys/types.h>
#include "gps.h" //the C library we are going to wrap
@@ -31,4 +31,4 @@ class gpsmm {
struct gps_data_t* backup(void) { *to_user=*gps_data; return to_user;}; //return the backup copy
pthread_t *handler; //needed to handle the callback registration/deletion
};
-#endif // _GPSMM_H_
+#endif // _GPSD_GPSMM_H_