]> git.meshlink.io Git - meshlink/blobdiff - src/hash.h
Add an astylerc file and reformat all code.
[meshlink] / src / hash.h
index 578bfdb5876bacbc8a30c6bc4fa7a7c21d934820..182a1c95d5212ddb271f423a9e469e1cdb1ae6c0 100644 (file)
@@ -17,8 +17,8 @@
     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */
 
-#ifndef __TINC_HASH_H__
-#define __TINC_HASH_H__
+#ifndef __MESHLINK_HASH_H__
+#define __MESHLINK_HASH_H__
 
 typedef struct hash_t {
        size_t n;
@@ -27,7 +27,7 @@ typedef struct hash_t {
        const void **values;
 } hash_t;
 
-extern hash_t *hash_alloc(size_t n, size_t size) __attribute__ ((__malloc__));
+extern hash_t *hash_alloc(size_t n, size_t size) __attribute__((__malloc__));
 extern void hash_free(hash_t *);
 
 extern void hash_insert(hash_t *, const void *key, const void *value);
@@ -38,4 +38,4 @@ extern void *hash_search_or_insert(hash_t *, const void *key, const void *value)
 extern void hash_clear(hash_t *);
 extern void hash_resize(hash_t *, size_t n);
 
-#endif /* __TINC_HASH_H__ */
+#endif /* __MESHLINK_HASH_H__ */