aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/config
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/config')
-rw-r--r--xorg-server/config/config.c4
-rw-r--r--xorg-server/config/makefile4
2 files changed, 6 insertions, 2 deletions
diff --git a/xorg-server/config/config.c b/xorg-server/config/config.c
index 551451623..52fc80836 100644
--- a/xorg-server/config/config.c
+++ b/xorg-server/config/config.c
@@ -208,7 +208,7 @@ config_odev_get_attribute(struct OdevAttributes *attribs, int attrib_id)
if (oa->attrib_type != ODEV_ATTRIB_STRING) {
LogMessage(X_ERROR, "Error %s called for non string attrib %d\n",
- __func__, attrib_id);
+ __FUNCTION__, attrib_id);
return NULL;
}
return oa->attrib_name;
@@ -225,7 +225,7 @@ config_odev_get_int_attribute(struct OdevAttributes *attribs, int attrib_id, int
if (oa->attrib_type != ODEV_ATTRIB_INT) {
LogMessage(X_ERROR, "Error %s called for non integer attrib %d\n",
- __func__, attrib_id);
+ __FUNCTION__, attrib_id);
return def;
}
diff --git a/xorg-server/config/makefile b/xorg-server/config/makefile
new file mode 100644
index 000000000..937785271
--- /dev/null
+++ b/xorg-server/config/makefile
@@ -0,0 +1,4 @@
+CSRCS=config.c
+
+LIBRARY=libconfig
+