util, io, net, ...: use "#pragma once"
This commit is contained in:

committed by
Max Kellermann

parent
313f2a1894
commit
be84b189dc
@@ -1,8 +1,7 @@
|
||||
// SPDX-License-Identifier: BSD-2-Clause
|
||||
// author: Max Kellermann <max.kellermann@gmail.com>
|
||||
|
||||
#ifndef CURL_GLOBAL_HXX
|
||||
#define CURL_GLOBAL_HXX
|
||||
#pragma once
|
||||
|
||||
#include "Multi.hxx"
|
||||
#include "event/CoarseTimerEvent.hxx"
|
||||
@@ -56,5 +55,3 @@ private:
|
||||
/* callback for #timeout_event */
|
||||
void OnTimeout() noexcept;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
@@ -1,8 +1,7 @@
|
||||
// SPDX-License-Identifier: BSD-2-Clause
|
||||
// author: Max Kellermann <max.kellermann@gmail.com>
|
||||
|
||||
#ifndef CURL_SLIST_HXX
|
||||
#define CURL_SLIST_HXX
|
||||
#pragma once
|
||||
|
||||
#include <curl/curl.h>
|
||||
|
||||
@@ -47,5 +46,3 @@ public:
|
||||
head = new_head;
|
||||
}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
@@ -1,8 +1,7 @@
|
||||
// SPDX-License-Identifier: BSD-2-Clause
|
||||
// author: Max Kellermann <max.kellermann@gmail.com>
|
||||
|
||||
#ifndef CURL_STRING_HXX
|
||||
#define CURL_STRING_HXX
|
||||
#pragma once
|
||||
|
||||
#include <curl/curl.h>
|
||||
|
||||
@@ -47,5 +46,3 @@ public:
|
||||
return p;
|
||||
}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user