Skip to content

Commit

Permalink
hppa: inotify.h: move to common sys/inotify.h
Browse files Browse the repository at this point in the history
Use the common sys/inotify.h to avoid duplication and move the
arch-specific settings into bits/inotify.h.
  • Loading branch information
Mike Frysinger committed Aug 18, 2015
1 parent 4454e16 commit 605021b
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 106 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2015-08-18 Mike Frysinger <vapier@gentoo.org>

* sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
* sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.

2015-08-18 Mike Frysinger <vapier@gentoo.org>

* sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
Expand Down
29 changes: 29 additions & 0 deletions sysdeps/unix/sysv/linux/hppa/bits/inotify.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/* Copyright (C) 2005-2015 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
The GNU C Library 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
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */

#ifndef _SYS_INOTIFY_H
# error "Never use <bits/inotify.h> directly; include <sys/inotify.h> instead."
#endif

/* Flags for the parameter of inotify_init1. */
enum
{
IN_CLOEXEC = 010000000,
#define IN_CLOEXEC IN_CLOEXEC
IN_NONBLOCK = 000200004 /* HPUX has separate NDELAY & NONBLOCK */
#define IN_NONBLOCK IN_NONBLOCK
};
106 changes: 0 additions & 106 deletions sysdeps/unix/sysv/linux/hppa/sys/inotify.h

This file was deleted.

0 comments on commit 605021b

Please sign in to comment.