summaryrefslogtreecommitdiff
path: root/lib/libalpm
diff options
context:
space:
mode:
authorIvy Foster <ivy.foster@gmail.com>2016-09-03 22:14:49 -0500
committerAllan McRae <allan@archlinux.org>2016-09-25 18:04:57 +1000
commit0d2ba870c96d1b4b3d5fabfabe303bc6b1c989fd (patch)
tree5570f95d12b1c5ebe6108179ae87097e52beee51 /lib/libalpm
parentae56a32273df8a36f4e84e0f37ce1f34e84f15a3 (diff)
downloadpacman-0d2ba870c96d1b4b3d5fabfabe303bc6b1c989fd.tar.xz
Do not #define _RESERVED_IDENTIFIERS
Signed-off-by: Ivy Foster <ivy.foster@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm')
-rw-r--r--lib/libalpm/add.h6
-rw-r--r--lib/libalpm/alpm.h6
-rw-r--r--lib/libalpm/alpm_list.h6
-rw-r--r--lib/libalpm/backup.h6
-rw-r--r--lib/libalpm/base64.h4
-rw-r--r--lib/libalpm/conflict.h6
-rw-r--r--lib/libalpm/db.h6
-rw-r--r--lib/libalpm/delta.h6
-rw-r--r--lib/libalpm/deps.h6
-rw-r--r--lib/libalpm/diskspace.h6
-rw-r--r--lib/libalpm/dload.h6
-rw-r--r--lib/libalpm/filelist.h6
-rw-r--r--lib/libalpm/graph.h6
-rw-r--r--lib/libalpm/group.h6
-rw-r--r--lib/libalpm/handle.h6
-rw-r--r--lib/libalpm/hook.h6
-rw-r--r--lib/libalpm/libarchive-compat.h6
-rw-r--r--lib/libalpm/log.h6
-rw-r--r--lib/libalpm/md5.h4
-rw-r--r--lib/libalpm/package.h6
-rw-r--r--lib/libalpm/pkghash.h6
-rw-r--r--lib/libalpm/remove.h6
-rw-r--r--lib/libalpm/sha2.h4
-rw-r--r--lib/libalpm/signing.h6
-rw-r--r--lib/libalpm/sync.h6
-rw-r--r--lib/libalpm/trans.h6
-rw-r--r--lib/libalpm/util.h6
27 files changed, 78 insertions, 78 deletions
diff --git a/lib/libalpm/add.h b/lib/libalpm/add.h
index aa707fab..c1ab62a2 100644
--- a/lib/libalpm/add.h
+++ b/lib/libalpm/add.h
@@ -17,8 +17,8 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _ALPM_ADD_H
-#define _ALPM_ADD_H
+#ifndef ALPM_ADD_H
+#define ALPM_ADD_H
#include "db.h"
#include "alpm_list.h"
@@ -26,6 +26,6 @@
int _alpm_upgrade_packages(alpm_handle_t *handle);
-#endif /* _ALPM_ADD_H */
+#endif /* ALPM_ADD_H */
/* vim: set noet: */
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h
index 168d71b0..7955585a 100644
--- a/lib/libalpm/alpm.h
+++ b/lib/libalpm/alpm.h
@@ -20,8 +20,8 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _ALPM_H
-#define _ALPM_H
+#ifndef ALPM_H
+#define ALPM_H
#ifdef __cplusplus
extern "C" {
@@ -1624,6 +1624,6 @@ void alpm_conflict_free(alpm_conflict_t *conflict);
#ifdef __cplusplus
}
#endif
-#endif /* _ALPM_H */
+#endif /* ALPM_H */
/* vim: set noet: */
diff --git a/lib/libalpm/alpm_list.h b/lib/libalpm/alpm_list.h
index 5af84e1a..cf7d463f 100644
--- a/lib/libalpm/alpm_list.h
+++ b/lib/libalpm/alpm_list.h
@@ -17,8 +17,8 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _ALPM_LIST_H
-#define _ALPM_LIST_H
+#ifndef ALPM_LIST_H
+#define ALPM_LIST_H
#include <stdlib.h> /* size_t */
@@ -90,6 +90,6 @@ void *alpm_list_to_array(const alpm_list_t *list, size_t n, size_t size);
#ifdef __cplusplus
}
#endif
-#endif /* _ALPM_LIST_H */
+#endif /* ALPM_LIST_H */
/* vim: set noet: */
diff --git a/lib/libalpm/backup.h b/lib/libalpm/backup.h
index 2e11dbc2..5cf3f90a 100644
--- a/lib/libalpm/backup.h
+++ b/lib/libalpm/backup.h
@@ -17,8 +17,8 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _ALPM_BACKUP_H
-#define _ALPM_BACKUP_H
+#ifndef ALPM_BACKUP_H
+#define ALPM_BACKUP_H
#include "alpm_list.h"
#include "alpm.h"
@@ -28,6 +28,6 @@ alpm_backup_t *_alpm_needbackup(const char *file, alpm_pkg_t *pkg);
void _alpm_backup_free(alpm_backup_t *backup);
alpm_backup_t *_alpm_backup_dup(const alpm_backup_t *backup);
-#endif /* _ALPM_BACKUP_H */
+#endif /* ALPM_BACKUP_H */
/* vim: set noet: */
diff --git a/lib/libalpm/base64.h b/lib/libalpm/base64.h
index df684ab7..9edb864e 100644
--- a/lib/libalpm/base64.h
+++ b/lib/libalpm/base64.h
@@ -22,8 +22,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _BASE64_H
-#define _BASE64_H
+#ifndef BASE64_H
+#define BASE64_H
#include <string.h>
diff --git a/lib/libalpm/conflict.h b/lib/libalpm/conflict.h
index e17d552e..801c201c 100644
--- a/lib/libalpm/conflict.h
+++ b/lib/libalpm/conflict.h
@@ -17,8 +17,8 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _ALPM_CONFLICT_H
-#define _ALPM_CONFLICT_H
+#ifndef ALPM_CONFLICT_H
+#define ALPM_CONFLICT_H
#include "alpm.h"
#include "db.h"
@@ -30,6 +30,6 @@ alpm_list_t *_alpm_outerconflicts(alpm_db_t *db, alpm_list_t *packages);
alpm_list_t *_alpm_db_find_fileconflicts(alpm_handle_t *handle,
alpm_list_t *upgrade, alpm_list_t *remove);
-#endif /* _ALPM_CONFLICT_H */
+#endif /* ALPM_CONFLICT_H */
/* vim: set noet: */
diff --git a/lib/libalpm/db.h b/lib/libalpm/db.h
index 05ef43e0..e6962985 100644
--- a/lib/libalpm/db.h
+++ b/lib/libalpm/db.h
@@ -19,8 +19,8 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _ALPM_DB_H
-#define _ALPM_DB_H
+#ifndef ALPM_DB_H
+#define ALPM_DB_H
/* libarchive */
#include <archive.h>
@@ -107,6 +107,6 @@ alpm_pkg_t *_alpm_db_get_pkgfromcache(alpm_db_t *db, const char *target);
alpm_list_t *_alpm_db_get_groupcache(alpm_db_t *db);
alpm_group_t *_alpm_db_get_groupfromcache(alpm_db_t *db, const char *target);
-#endif /* _ALPM_DB_H */
+#endif /* ALPM_DB_H */
/* vim: set noet: */
diff --git a/lib/libalpm/delta.h b/lib/libalpm/delta.h
index c7bbaded..26c3c4ce 100644
--- a/lib/libalpm/delta.h
+++ b/lib/libalpm/delta.h
@@ -17,8 +17,8 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _ALPM_DELTA_H
-#define _ALPM_DELTA_H
+#ifndef ALPM_DELTA_H
+#define ALPM_DELTA_H
#include <sys/types.h> /* off_t */
@@ -30,6 +30,6 @@ alpm_delta_t *_alpm_delta_dup(const alpm_delta_t *delta);
off_t _alpm_shortest_delta_path(alpm_handle_t *handle, alpm_list_t *deltas,
const char *to, alpm_list_t **path);
-#endif /* _ALPM_DELTA_H */
+#endif /* ALPM_DELTA_H */
/* vim: set noet: */
diff --git a/lib/libalpm/deps.h b/lib/libalpm/deps.h
index 691f505a..91c6eb62 100644
--- a/lib/libalpm/deps.h
+++ b/lib/libalpm/deps.h
@@ -19,8 +19,8 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _ALPM_DEPS_H
-#define _ALPM_DEPS_H
+#ifndef ALPM_DEPS_H
+#define ALPM_DEPS_H
#include "db.h"
#include "sync.h"
@@ -38,6 +38,6 @@ int _alpm_depcmp_literal(alpm_pkg_t *pkg, alpm_depend_t *dep);
int _alpm_depcmp_provides(alpm_depend_t *dep, alpm_list_t *provisions);
int _alpm_depcmp(alpm_pkg_t *pkg, alpm_depend_t *dep);
-#endif /* _ALPM_DEPS_H */
+#endif /* ALPM_DEPS_H */
/* vim: set noet: */
diff --git a/lib/libalpm/diskspace.h b/lib/libalpm/diskspace.h
index acda05ab..8c0e4e60 100644
--- a/lib/libalpm/diskspace.h
+++ b/lib/libalpm/diskspace.h
@@ -17,8 +17,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _ALPM_DISKSPACE_H
-#define _ALPM_DISKSPACE_H
+#ifndef ALPM_DISKSPACE_H
+#define ALPM_DISKSPACE_H
#if defined(HAVE_SYS_MOUNT_H)
#include <sys/mount.h>
@@ -60,6 +60,6 @@ int _alpm_check_diskspace(alpm_handle_t *handle);
int _alpm_check_downloadspace(alpm_handle_t *handle, const char *cachedir,
size_t num_files, off_t *file_sizes);
-#endif /* _ALPM_DISKSPACE_H */
+#endif /* ALPM_DISKSPACE_H */
/* vim: set noet: */
diff --git a/lib/libalpm/dload.h b/lib/libalpm/dload.h
index 60843bdf..427c4860 100644
--- a/lib/libalpm/dload.h
+++ b/lib/libalpm/dload.h
@@ -17,8 +17,8 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _ALPM_DLOAD_H
-#define _ALPM_DLOAD_H
+#ifndef ALPM_DLOAD_H
+#define ALPM_DLOAD_H
#include "alpm_list.h"
#include "alpm.h"
@@ -51,6 +51,6 @@ void _alpm_dload_payload_reset(struct dload_payload *payload);
int _alpm_download(struct dload_payload *payload, const char *localpath,
char **final_file, const char **final_url);
-#endif /* _ALPM_DLOAD_H */
+#endif /* ALPM_DLOAD_H */
/* vim: set noet: */
diff --git a/lib/libalpm/filelist.h b/lib/libalpm/filelist.h
index 5560ea0f..a74bdea0 100644
--- a/lib/libalpm/filelist.h
+++ b/lib/libalpm/filelist.h
@@ -16,8 +16,8 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _ALPM_FILELIST_H
-#define _ALPM_FILELIST_H
+#ifndef ALPM_FILELIST_H
+#define ALPM_FILELIST_H
#include "alpm.h"
@@ -29,6 +29,6 @@ alpm_list_t *_alpm_filelist_intersection(alpm_filelist_t *filesA,
int _alpm_files_cmp(const void *f1, const void *f2);
-#endif /* _ALPM_FILELIST_H */
+#endif /* ALPM_FILELIST_H */
/* vim: set noet: */
diff --git a/lib/libalpm/graph.h b/lib/libalpm/graph.h
index 76a268a5..22f0aa9d 100644
--- a/lib/libalpm/graph.h
+++ b/lib/libalpm/graph.h
@@ -16,8 +16,8 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _ALPM_GRAPH_H
-#define _ALPM_GRAPH_H
+#ifndef ALPM_GRAPH_H
+#define ALPM_GRAPH_H
#include <sys/types.h> /* off_t */
@@ -35,6 +35,6 @@ typedef struct __alpm_graph_t {
alpm_graph_t *_alpm_graph_new(void);
void _alpm_graph_free(void *data);
-#endif /* _ALPM_GRAPH_H */
+#endif /* ALPM_GRAPH_H */
/* vim: set noet: */
diff --git a/lib/libalpm/group.h b/lib/libalpm/group.h
index 1db4e364..aa330761 100644
--- a/lib/libalpm/group.h
+++ b/lib/libalpm/group.h
@@ -17,14 +17,14 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _ALPM_GROUP_H
-#define _ALPM_GROUP_H
+#ifndef ALPM_GROUP_H
+#define ALPM_GROUP_H
#include "alpm.h"
alpm_group_t *_alpm_group_new(const char *name);
void _alpm_group_free(alpm_group_t *grp);
-#endif /* _ALPM_GROUP_H */
+#endif /* ALPM_GROUP_H */
/* vim: set noet: */
diff --git a/lib/libalpm/handle.h b/lib/libalpm/handle.h
index a1d0f9a5..ecbe8370 100644
--- a/lib/libalpm/handle.h
+++ b/lib/libalpm/handle.h
@@ -17,8 +17,8 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _ALPM_HANDLE_H
-#define _ALPM_HANDLE_H
+#ifndef ALPM_HANDLE_H
+#define ALPM_HANDLE_H
#include <stdio.h>
#include <sys/types.h>
@@ -123,6 +123,6 @@ int _alpm_handle_unlock(alpm_handle_t *handle);
alpm_errno_t _alpm_set_directory_option(const char *value,
char **storage, int must_exist);
-#endif /* _ALPM_HANDLE_H */
+#endif /* ALPM_HANDLE_H */
/* vim: set noet: */
diff --git a/lib/libalpm/hook.h b/lib/libalpm/hook.h
index 01eb3ed7..f33dfe13 100644
--- a/lib/libalpm/hook.h
+++ b/lib/libalpm/hook.h
@@ -17,13 +17,13 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _ALPM_HOOK_H
-#define _ALPM_HOOK_H
+#ifndef ALPM_HOOK_H
+#define ALPM_HOOK_H
#include "alpm.h"
int _alpm_hook_run(alpm_handle_t *handle, alpm_hook_when_t when);
-#endif /* _ALPM_HOOK_H */
+#endif /* ALPM_HOOK_H */
/* vim: set noet: */
diff --git a/lib/libalpm/libarchive-compat.h b/lib/libalpm/libarchive-compat.h
index 3b46a5ac..d4aa4fa2 100644
--- a/lib/libalpm/libarchive-compat.h
+++ b/lib/libalpm/libarchive-compat.h
@@ -1,5 +1,5 @@
-#ifndef _LIBARCHIVE_COMPAT_H
-#define _LIBARCHIVE_COMPAT_H
+#ifndef LIBARCHIVE_COMPAT_H
+#define LIBARCHIVE_COMPAT_H
/*
* libarchive-compat.h
@@ -68,6 +68,6 @@ static inline int _alpm_archive_read_support_filter_all(struct archive *archive)
#endif
}
-#endif /* _LIBARCHIVE_COMPAT_H */
+#endif /* LIBARCHIVE_COMPAT_H */
/* vim: set noet: */
diff --git a/lib/libalpm/log.h b/lib/libalpm/log.h
index 3fd6196b..79074fc6 100644
--- a/lib/libalpm/log.h
+++ b/lib/libalpm/log.h
@@ -17,8 +17,8 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _ALPM_LOG_H
-#define _ALPM_LOG_H
+#ifndef ALPM_LOG_H
+#define ALPM_LOG_H
#include "alpm.h"
@@ -27,6 +27,6 @@
void _alpm_log(alpm_handle_t *handle, alpm_loglevel_t flag,
const char *fmt, ...) __attribute__((format(printf,3,4)));
-#endif /* _ALPM_LOG_H */
+#endif /* ALPM_LOG_H */
/* vim: set noet: */
diff --git a/lib/libalpm/md5.h b/lib/libalpm/md5.h
index d03013a2..4a6fe4da 100644
--- a/lib/libalpm/md5.h
+++ b/lib/libalpm/md5.h
@@ -21,8 +21,8 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _MD5_H
-#define _MD5_H
+#ifndef MD5_H
+#define MD5_H
#include <string.h>
diff --git a/lib/libalpm/package.h b/lib/libalpm/package.h
index 31add9ac..114d2250 100644
--- a/lib/libalpm/package.h
+++ b/lib/libalpm/package.h
@@ -21,8 +21,8 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _ALPM_PACKAGE_H
-#define _ALPM_PACKAGE_H
+#ifndef ALPM_PACKAGE_H
+#define ALPM_PACKAGE_H
#include <sys/types.h> /* off_t */
@@ -153,6 +153,6 @@ alpm_pkg_t *_alpm_pkg_load_internal(alpm_handle_t *handle,
int _alpm_pkg_cmp(const void *p1, const void *p2);
int _alpm_pkg_compare_versions(alpm_pkg_t *local_pkg, alpm_pkg_t *pkg);
-#endif /* _ALPM_PACKAGE_H */
+#endif /* ALPM_PACKAGE_H */
/* vim: set noet: */
diff --git a/lib/libalpm/pkghash.h b/lib/libalpm/pkghash.h
index c843a435..be064f69 100644
--- a/lib/libalpm/pkghash.h
+++ b/lib/libalpm/pkghash.h
@@ -17,8 +17,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _ALPM_PKGHASH_H
-#define _ALPM_PKGHASH_H
+#ifndef ALPM_PKGHASH_H
+#define ALPM_PKGHASH_H
#include <stdlib.h>
@@ -57,4 +57,4 @@ void _alpm_pkghash_free(alpm_pkghash_t *hash);
alpm_pkg_t *_alpm_pkghash_find(alpm_pkghash_t *hash, const char *name);
-#endif /* _ALPM_PKGHASH_H */
+#endif /* ALPM_PKGHASH_H */
diff --git a/lib/libalpm/remove.h b/lib/libalpm/remove.h
index e6e1b22a..b26ea602 100644
--- a/lib/libalpm/remove.h
+++ b/lib/libalpm/remove.h
@@ -17,8 +17,8 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _ALPM_REMOVE_H
-#define _ALPM_REMOVE_H
+#ifndef ALPM_REMOVE_H
+#define ALPM_REMOVE_H
#include "db.h"
#include "alpm_list.h"
@@ -31,6 +31,6 @@ int _alpm_remove_single_package(alpm_handle_t *handle,
alpm_pkg_t *oldpkg, alpm_pkg_t *newpkg,
size_t targ_count, size_t pkg_count);
-#endif /* _ALPM_REMOVE_H */
+#endif /* ALPM_REMOVE_H */
/* vim: set noet: */
diff --git a/lib/libalpm/sha2.h b/lib/libalpm/sha2.h
index 887b9c60..99267de9 100644
--- a/lib/libalpm/sha2.h
+++ b/lib/libalpm/sha2.h
@@ -21,8 +21,8 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _SHA2_H
-#define _SHA2_H
+#ifndef SHA2_H
+#define SHA2_H
#include <string.h>
diff --git a/lib/libalpm/signing.h b/lib/libalpm/signing.h
index 9e12cfa0..960b644c 100644
--- a/lib/libalpm/signing.h
+++ b/lib/libalpm/signing.h
@@ -16,8 +16,8 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _ALPM_SIGNING_H
-#define _ALPM_SIGNING_H
+#ifndef ALPM_SIGNING_H
+#define ALPM_SIGNING_H
#include "alpm.h"
@@ -34,6 +34,6 @@ int _alpm_process_siglist(alpm_handle_t *handle, const char *identifier,
int _alpm_key_in_keychain(alpm_handle_t *handle, const char *fpr);
int _alpm_key_import(alpm_handle_t *handle, const char *fpr);
-#endif /* _ALPM_SIGNING_H */
+#endif /* ALPM_SIGNING_H */
/* vim: set noet: */
diff --git a/lib/libalpm/sync.h b/lib/libalpm/sync.h
index f6c610e6..1aa48b7a 100644
--- a/lib/libalpm/sync.h
+++ b/lib/libalpm/sync.h
@@ -19,8 +19,8 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _ALPM_SYNC_H
-#define _ALPM_SYNC_H
+#ifndef ALPM_SYNC_H
+#define ALPM_SYNC_H
#include "alpm.h"
@@ -29,6 +29,6 @@ int _alpm_sync_load(alpm_handle_t *handle, alpm_list_t **data);
int _alpm_sync_check(alpm_handle_t *handle, alpm_list_t **data);
int _alpm_sync_commit(alpm_handle_t *handle);
-#endif /* _ALPM_SYNC_H */
+#endif /* ALPM_SYNC_H */
/* vim: set noet: */
diff --git a/lib/libalpm/trans.h b/lib/libalpm/trans.h
index d2eb6812..73111be4 100644
--- a/lib/libalpm/trans.h
+++ b/lib/libalpm/trans.h
@@ -20,8 +20,8 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _ALPM_TRANS_H
-#define _ALPM_TRANS_H
+#ifndef ALPM_TRANS_H
+#define ALPM_TRANS_H
#include "alpm.h"
@@ -50,6 +50,6 @@ int _alpm_trans_init(alpm_trans_t *trans, alpm_transflag_t flags);
int _alpm_runscriptlet(alpm_handle_t *handle, const char *filepath,
const char *script, const char *ver, const char *oldver, int is_archive);
-#endif /* _ALPM_TRANS_H */
+#endif /* ALPM_TRANS_H */
/* vim: set noet: */
diff --git a/lib/libalpm/util.h b/lib/libalpm/util.h
index 94949867..5a2c105d 100644
--- a/lib/libalpm/util.h
+++ b/lib/libalpm/util.h
@@ -21,8 +21,8 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _ALPM_UTIL_H
-#define _ALPM_UTIL_H
+#ifndef ALPM_UTIL_H
+#define ALPM_UTIL_H
#include "alpm_list.h"
#include "alpm.h"
@@ -156,6 +156,6 @@ char *strsep(char **, const char *);
#define UNUSED __attribute__((unused))
-#endif /* _ALPM_UTIL_H */
+#endif /* ALPM_UTIL_H */
/* vim: set noet: */