~vcs-imports/transmission/trunk

« back to all changes in this revision

Viewing changes to libtransmission/upnp.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_UPNP_H
15
 
#define TR_UPNP_H 1
 
14
#pragma once
16
15
 
17
16
/**
18
17
 * @addtogroup port_forwarding Port Forwarding
30
29
                            int isEnabled,
31
30
                            int doPortCheck);
32
31
/* @} */
33
 
#endif