GNOME Bugzilla – Bug 791843
Replace #ifdef with #pragma once
Last modified: 2017-12-27 03:28:07 UTC
In order to modernize code, we need to replace all instances of: #ifndef _FOO_H #define _FOO_H ... #endif /*_FOO_H*/ by #pragma once
Created attachment 365997 [details] [review] h-files: Adopt #pragma once In order to modernize code, we have to change all *.h files to use: instead of: ... It will so make code easier to read. This patch does that.
Created attachment 365998 [details] [review] h-files: Adopt #pragma once In order to modernize code, we have to change all *.h files to use: #pragma once instead of: #ifndef _FOO_H #define _FOO_H ... #endif /*_FOO_H*/ It will also make code easier to read. This patch does that.
Review of attachment 365998 [details] [review]: lgtm
Review of attachment 365998 [details] [review]: Commited, thx.