[libvirt] [PATCH 06/46] src/phyp: use #pragma once in headers

Jonathon Jongsma posted 46 patches 6 years, 7 months ago
[libvirt] [PATCH 06/46] src/phyp: use #pragma once in headers
Posted by Jonathon Jongsma 6 years, 7 months ago
Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
---
 src/phyp/phyp_driver.h | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/phyp/phyp_driver.h b/src/phyp/phyp_driver.h
index 52a5d2bd17..d7076e3697 100644
--- a/src/phyp/phyp_driver.h
+++ b/src/phyp/phyp_driver.h
@@ -19,9 +19,6 @@
  * <http://www.gnu.org/licenses/>.
  */
 
-#ifndef LIBVIRT_PHYP_DRIVER_H
-# define LIBVIRT_PHYP_DRIVER_H
+#pragma once
 
 int phypRegister(void);
-
-#endif /* LIBVIRT_PHYP_DRIVER_H */
-- 
2.20.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH 06/46] src/phyp: use #pragma once in headers
Posted by Ján Tomko 6 years, 7 months ago
On Tue, Jun 18, 2019 at 11:12:36AM -0500, Jonathon Jongsma wrote:
>Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
>---
> src/phyp/phyp_driver.h | 5 +----
> 1 file changed, 1 insertion(+), 4 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko@redhat.com>

Jano
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list