From: Kay Sievers Date: Wed, 16 Aug 2006 00:04:04 +0000 (+0200) Subject: rename udev_libc_wrapper -> udev_sysdeps X-Git-Tag: 174~2194 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=dbd16d2684f77a74dc272ce0421315ea357dcaf7 rename udev_libc_wrapper -> udev_sysdeps --- diff --git a/Makefile b/Makefile index 209ab1048..1b3815f3b 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 be01aeaa2..a69ce0893 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 similarity index 95% rename from udev_libc_wrapper.c rename to udev_sysdeps.c index 35e01e619..152b7f0c5 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 - * Copyright (C) 2005 Kay Sievers + * Copyright (C) 2005-2006 Kay Sievers * * 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 similarity index 94% rename from udev_libc_wrapper.h rename to udev_sysdeps.h index 21dbce647..530218f7b 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 + * Copyright (C) 2005-2006 Kay Sievers * * 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 #include @@ -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