mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-12-04 22:00:15 -05:00
use pragma once in headers
This commit is contained in:
parent
d66774d3f3
commit
a7b126cb48
118 changed files with 128 additions and 472 deletions
|
|
@ -14,8 +14,7 @@
|
|||
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef __SUCCESS_FAIL_HPP__
|
||||
#define __SUCCESS_FAIL_HPP__
|
||||
#pragma once
|
||||
|
||||
#define STATVFS_SUCCESS 0
|
||||
#define STATVFS_SUCCEEDED(RV) ((RV) == STATVFS_SUCCESS)
|
||||
|
|
@ -42,5 +41,3 @@
|
|||
#define RENAME_FAIL -1
|
||||
#define RENAME_FAILED(RV) ((RV) == RENAME_FAIL)
|
||||
#define RENAME_FAILED_WITH(RV,ERRNO) (((RV) == RENAME_FAIL) && (errno == ERRNO))
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue