aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2006-08-16 02:04:04 +0200
committerKay Sievers <kay.sievers@suse.de>2006-08-16 02:04:04 +0200
commitdbd16d2684f77a74dc272ce0421315ea357dcaf7 (patch)
tree03dfbc9c9596a88d60c7e21c896765e589ee5bef
parentaa9a49b4b39bfaa465ae9d0f6ac4621cd519b719 (diff)
downloadudev-dbd16d2684f77a74dc272ce0421315ea357dcaf7.tar.gz
rename udev_libc_wrapper -> udev_sysdeps
-rw-r--r--Makefile4
-rw-r--r--udev.h2
-rw-r--r--udev_sysdeps.c (renamed from udev_libc_wrapper.c)5
-rw-r--r--udev_sysdeps.h (renamed from udev_libc_wrapper.h)11
4 files changed, 10 insertions, 12 deletions
diff --git a/Makefile b/Makefile
index 209ab104..1b3815f3 100644
--- a/Makefile
+++ b/Makefile
@@ -59,7 +59,7 @@ HEADERS = \
udevd.h \
udev_rules.h \
logging.h \
- udev_libc_wrapper.h \
+ udev_sysdeps.h \
udev_selinux.h \
list.h
@@ -75,7 +75,7 @@ UDEV_OBJS = \
udev_utils_string.o \
udev_utils_file.o \
udev_utils_run.o \
- udev_libc_wrapper.o
+ udev_sysdeps.o
LIBUDEV = libudev.a
MAN_PAGES = \
diff --git a/udev.h b/udev.h
index be01aeaa..a69ce089 100644
--- a/udev.h
+++ b/udev.h
@@ -27,7 +27,7 @@
#include "list.h"
#include "logging.h"
-#include "udev_libc_wrapper.h"
+#include "udev_sysdeps.h"
#include "udev_version.h"
#define COMMENT_CHARACTER '#'
diff --git a/udev_libc_wrapper.c b/udev_sysdeps.c
index 35e01e61..152b7f0c 100644
--- a/udev_libc_wrapper.c
+++ b/udev_sysdeps.c
@@ -1,9 +1,8 @@
/*
- * udev_libc_wrapper - wrapping of functions missing in a specific libc
- * or not working in a statically compiled binary
+ * udev_sysdeps.c - wrapping of libc features and kernel defines
*
* Copyright (C) 2003 Greg Kroah-Hartman <greg@kroah.com>
- * Copyright (C) 2005 Kay Sievers <kay@vrfy.org>
+ * Copyright (C) 2005-2006 Kay Sievers <kay.sievers@vrfy.org>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/udev_libc_wrapper.h b/udev_sysdeps.h
index 21dbce64..530218f7 100644
--- a/udev_libc_wrapper.h
+++ b/udev_sysdeps.h
@@ -1,8 +1,7 @@
/*
- * udev_libc_wrapper - wrapping of functions missing in a specific libc
- * or not working in a statically compiled binary
+ * udev_sysdeps.h - wrapping of libc features and kernel defines
*
- * Copyright (C) 2005 Kay Sievers <kay.sievers@vrfy.org>
+ * Copyright (C) 2005-2006 Kay Sievers <kay.sievers@vrfy.org>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
@@ -19,8 +18,8 @@
*
*/
-#ifndef _UDEV_LIBC_WRAPPER_H_
-#define _UDEV_LIBC_WRAPPER_H_
+#ifndef _UDEV_SYSDEPS_H_
+#define _UDEV_SYSDEPS_H_
#include <string.h>
#include <unistd.h>
@@ -169,4 +168,4 @@ extern gid_t lookup_group(const char *group);
extern size_t strlcpy(char *dst, const char *src, size_t size);
extern size_t strlcat(char *dst, const char *src, size_t size);
-#endif /* _UDEV_LIBC_WRAPPER_H_ */
+#endif