chiark / gitweb /
remove format char string truncation syntax
[elogind.git] / udev / udev-sysdeps.h
index eaeab86f6b1cd6b7bcaaf4cef3d37888eca428b8..35671baca1e290b637e99271dc233c98aa497704 100644 (file)
 #define _UDEV_SYSDEPS_H_
 
 #include <stdint.h>
-
-/* needed for our signal handlers to work */
-#undef asmlinkage
-#ifdef __i386__
-#define asmlinkage     __attribute__((regparm(0)))
-#else
-#define asmlinkage
-#endif /* __i386__ */
+#include <errno.h>
 
 #ifndef HAVE_INOTIFY
 static inline int inotify_init(void)
 {
+       errno = ENOSYS;
        return -1;
 }