~vcs-imports/transmission/trunk

« back to all changes in this revision

Viewing changes to libtransmission/announcer.h

  • Committer: jordan
  • Date: 2016-03-29 16:37:21 UTC
  • Revision ID: svn-v4:f4695dd4-2c0a-0410-b89c-da849a56a58e:trunk:14724
use '#pragma once' instead of #ifndef..#define..#endif guards

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
 */
9
9
 
10
10
#ifndef __TRANSMISSION__
11
 
#error only libtransmission should #include this header.
 
11
 #error only libtransmission should #include this header.
12
12
#endif
13
13
 
14
 
#ifndef _TR_ANNOUNCER_H_
15
 
#define _TR_ANNOUNCER_H_
 
14
#pragma once
16
15
 
17
16
#include "transmission.h"
18
17
 
111
110
 
112
111
bool tr_tracker_udp_is_idle (const tr_session * session);
113
112
 
114
 
 
115
 
 
116
 
#endif /* _TR_ANNOUNCER_H_ */