X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=udev%2Fudev_sysdeps.h;h=eaeab86f6b1cd6b7bcaaf4cef3d37888eca428b8;hp=f08053e5f130141c15bf1b10a77a034bc8e4e044;hb=033e9f8cde5a7feec1334888aec69def99c945b5;hpb=01618658fd82dbc5e6315b639f00e87c6fee3c54 diff --git a/udev/udev_sysdeps.h b/udev/udev_sysdeps.h index f08053e5f..eaeab86f6 100644 --- a/udev/udev_sysdeps.h +++ b/udev/udev_sysdeps.h @@ -3,19 +3,18 @@ * * Copyright (C) 2005-2008 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 - * Free Software Foundation version 2 of the License. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * 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., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * 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 Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ #ifndef _UDEV_SYSDEPS_H_ @@ -41,11 +40,11 @@ static inline int inotify_add_watch(int fd, const char *name, uint32_t mask) { return -1; } -#endif -#ifndef HAVE_STRLCPY -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 +#define IN_CREATE 0 +#define IN_DELETE 0 +#define IN_MOVE 0 +#define IN_CLOSE_WRITE 0 +#endif /* HAVE_INOTIFY */ #endif