mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
use '#pragma once' instead of #ifndef..#define..#endif guards
This commit is contained in:
@@ -7,8 +7,7 @@
|
||||
* $Id:$
|
||||
*/
|
||||
|
||||
#ifndef UNITS_H
|
||||
#define UNITS_H
|
||||
#pragma once
|
||||
|
||||
#define MEM_K 1024
|
||||
#define MEM_K_STR "KiB"
|
||||
@@ -30,4 +29,3 @@
|
||||
#define SPEED_G_STR "GB/s"
|
||||
#define SPEED_T_STR "TB/s"
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user