X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=udev_sysdeps.h;h=d4f03686af3f0037eeb19d43c38b5cc9dec6caa9;hb=0654a21c78caf312fa612059725d1b47c78e7802;hp=530218f7b9e05d431ba8e25abe1d5554ff2cf15e;hpb=dbd16d2684f77a74dc272ce0421315ea357dcaf7;p=elogind.git diff --git a/udev_sysdeps.h b/udev_sysdeps.h index 530218f7b..d4f03686a 100644 --- a/udev_sysdeps.h +++ b/udev_sysdeps.h @@ -1,5 +1,5 @@ /* - * udev_sysdeps.h - wrapping of libc features and kernel defines + * wrapping of libc features and kernel interfaces * * Copyright (C) 2005-2006 Kay Sievers * @@ -14,7 +14,7 @@ * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., - * 675 Mass Ave, Cambridge, MA 02139, USA. + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * */ @@ -64,6 +64,10 @@ # define __NR_inotify_init 290 # define __NR_inotify_add_watch 291 # define __NR_inotify_rm_watch 292 +#elif defined (__m32r__) +# define __NR_inotify_init 290 +# define __NR_inotify_add_watch 291 +# define __NR_inotify_rm_watch 292 #elif defined (__hppa__) # define __NR_inotify_init 269 # define __NR_inotify_add_watch 270 @@ -162,9 +166,6 @@ static inline int inotify_add_watch(int fd, const char *name, uint32_t mask) #endif #endif -extern uid_t lookup_user(const char *user); -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);