diff options
author | Michael Catanzaro <mcatanzaro@gnome.org> | 2016-09-10 21:18:30 -0500 |
---|---|---|
committer | Michael Catanzaro <mcatanzaro@gnome.org> | 2016-09-10 21:18:30 -0500 |
commit | e797e97dabed7a8ff7a6cd809d9cc8f4cab8b0bb (patch) | |
tree | fc809d073dd21d5b494ff4f1158d15b5d832128b /lib/ephy-sqlite-connection.h | |
parent | 47117f4634949c156a898ca43e4e4a3e129437e7 (diff) | |
download | epiphany-e797e97dabed7a8ff7a6cd809d9cc8f4cab8b0bb.tar.gz |
Start using #pragma once
It's now required by WebKit, so no reason not to.
Also, clean up a couple places that are missing G_BEGIN_DECLS. Not that
it matters at all, since we don't use any C++.
Diffstat (limited to 'lib/ephy-sqlite-connection.h')
-rw-r--r-- | lib/ephy-sqlite-connection.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/ephy-sqlite-connection.h b/lib/ephy-sqlite-connection.h index a4b971c4d..f84c6441e 100644 --- a/lib/ephy-sqlite-connection.h +++ b/lib/ephy-sqlite-connection.h @@ -15,8 +15,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef EPHY_SQLITE_CONNECTION_H -#define EPHY_SQLITE_CONNECTION_H +#pragma once #include <glib-object.h> #include "ephy-sqlite-statement.h" @@ -45,6 +44,3 @@ gboolean ephy_sqlite_connection_commit_transaction (EphySQLi gboolean ephy_sqlite_connection_table_exists (EphySQLiteConnection *self, const char *table_name); G_END_DECLS - -#endif /* EPHY_SQLITE_CONNECTION_H */ - |