use '#pragma once' instead of #ifndef..#define..#endif guards

This commit is contained in:
Jordan Lee
2016-03-29 16:37:21 +00:00
parent 77b5105ea0
commit 1af60ad6ad
129 changed files with 149 additions and 417 deletions

View File

@@ -24,8 +24,7 @@ THE SOFTWARE.
#error only libtransmission should #include this header.
#endif
#ifndef _TR_LPD_H
#define _TR_LPD_H
#pragma once
/* $Id$ */
@@ -48,5 +47,3 @@ bool tr_lpdSendAnnounce (const tr_torrent*);
/**
* @} */
#endif /* _TR_LPD_H */