]> git.sesse.net Git - nageru/blobdiff - nageru/decibel.h
Rename nageru/db.h to decibel.h, since it is confusing to also have futatabi/db.h...
[nageru] / nageru / decibel.h
similarity index 74%
rename from nageru/db.h
rename to nageru/decibel.h
index 53261abd058bd0b80f8881a182a4f93d2e3474d0..acbb5d622c7e109bc3b40fb13b49b1dcf5f94b4c 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef _DB_H
-#define _DB_H 1
+#ifndef _DECIBEL_H
+#define _DECIBEL_H 1
 
 // Utility routines for working with decibels.
 
@@ -8,4 +8,4 @@
 static inline double from_db(double db) { return pow(10.0, db / 20.0); }
 static inline double to_db(double val) { return 20.0 * log10(val); }
 
-#endif  // !defined(_DB_H)
+#endif  // !defined(_DECIBEL_H)