mirror of
https://github.com/thewtex/tmux-mem-cpu-load.git
synced 2026-09-10 07:16:16 -04:00
Add header guard to conversions.h
This commit is contained in:
parent
7eef3670e0
commit
e50d34873f
|
|
@ -16,6 +16,9 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef CONVERSIONS_H_
|
||||||
|
#define CONVERSIONS_H_
|
||||||
|
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
BYTES = 0,
|
BYTES = 0,
|
||||||
|
|
@ -33,3 +36,5 @@ inline T convert_unit( T num, int to, int from = BYTES)
|
||||||
}
|
}
|
||||||
return num;
|
return num;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue