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
committerAndrew Gregory <andrew.gregory.8@gmail.com>2017-05-08 23:27:43 -0400
commitc889403cf71f0d94d6bcc0cf1fac4790668f4635 (patch)
tree0cf0032d26748126b94d7ae14d4405a1a9203aa1 /src/common
parent537f8c881cbecab587c1edb741640e0ff6b78504 (diff)
Do not #define _RESERVED_IDENTIFIERS
Signed-off-by: Ivy Foster <ivy.foster@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> (cherry picked from commit 0d2ba870c96d1b4b3d5fabfabe303bc6b1c989fd)
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: */