network: Use #pragma once on headers

Another low hanging fruit that reduces even more the
number of lines of code of the headers.
This commit is contained in:
Georges Basile Stavracas Neto 2018-11-01 00:19:21 -03:00
parent f1347132d9
commit 120eb2f59e
No known key found for this signature in database
GPG key ID: 886C17EE170D1385
11 changed files with 11 additions and 52 deletions

View file

@ -19,8 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef __NET_DEVICE_ETHERNET_H
#define __NET_DEVICE_ETHERNET_H
#pragma once
#include <glib-object.h>
@ -32,6 +31,3 @@ G_BEGIN_DECLS
G_DECLARE_FINAL_TYPE (NetDeviceEthernet, net_device_ethernet, NET, DEVICE_ETHERNET, NetDeviceSimple)
G_END_DECLS
#endif /* __NET_DEVICE_ETHERNET_H */