diff options
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | udev.h | 2 | ||||
-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
@@ -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 = \ @@ -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 35e01e619d..152b7f0c5c 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 21dbce6474..530218f7b9 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 |