Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src/common
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 /src/common
parentae56a32273df8a36f4e84e0f37ce1f34e84f15a3 (diff)
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 'src/common')
-rw-r--r--src/common/ini.h6
-rw-r--r--src/common/util-common.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/common/ini.h b/src/common/ini.h
index 2b4f79d6..e03a83fd 100644
--- a/src/common/ini.h
+++ b/src/common/ini.h
@@ -17,14 +17,14 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _PM_INI_H
-#define _PM_INI_H
+#ifndef PM_INI_H
+#define PM_INI_H
typedef int (ini_parser_fn)(const char *file, int line, const char *section,
char *key, char *value, void *data);
int parse_ini(const char *file, ini_parser_fn cb, void *data);
-#endif /* _PM_CONF_H */
+#endif /* PM_INI_H */
/* vim: set noet: */
diff --git a/src/common/util-common.h b/src/common/util-common.h
index 9df6a709..14520944 100644
--- a/src/common/util-common.h
+++ b/src/common/util-common.h
@@ -17,8 +17,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _PM_UTIL_COMMON_H
-#define _PM_UTIL_COMMON_H
+#ifndef PM_UTIL_COMMON_H
+#define PM_UTIL_COMMON_H
#include <stdio.h>
#include <sys/stat.h> /* struct stat */
@@ -38,6 +38,6 @@ char *strndup(const char *s, size_t n);
#define ARRAYSIZE(a) (sizeof (a) / sizeof (a[0]))
-#endif /* _PM_UTIL_COMMON_H */
+#endif /* PM_UTIL_COMMON_H */
/* vim: set noet: */