gnu.cfg Remove redundant function and resource configurations (#1036)
The epoll_* function and resource configurations somehow where added twice. This removes all duplicates (they have the same attributes/configuration).
This commit is contained in:
parent
5e74012e81
commit
b5b84d1737
88
cfg/gnu.cfg
88
cfg/gnu.cfg
|
@ -624,94 +624,6 @@
|
||||||
<!-- see http://kernelnewbies.org/FAQ/LikelyUnlikely -->
|
<!-- see http://kernelnewbies.org/FAQ/LikelyUnlikely -->
|
||||||
<define name="likely(X)" value="(X)"/>
|
<define name="likely(X)" value="(X)"/>
|
||||||
<define name="unlikely(X)" value="(X)"/>
|
<define name="unlikely(X)" value="(X)"/>
|
||||||
<!-- int epoll_create(int size);
|
|
||||||
int epoll_create1(int flags); -->
|
|
||||||
<function name="epoll_create,epoll_create1">
|
|
||||||
<noreturn>false</noreturn>
|
|
||||||
<returnValue type="int"/>
|
|
||||||
<arg nr="1">
|
|
||||||
<not-bool/>
|
|
||||||
<not-uninit/>
|
|
||||||
</arg>
|
|
||||||
</function>
|
|
||||||
<!-- int epoll_ctl(int epfd, int op, int fd, struct epoll_event *event); -->
|
|
||||||
<function name="epoll_ctl">
|
|
||||||
<noreturn>false</noreturn>
|
|
||||||
<returnValue type="int"/>
|
|
||||||
<arg nr="1">
|
|
||||||
<not-bool/>
|
|
||||||
<not-uninit/>
|
|
||||||
</arg>
|
|
||||||
<arg nr="2">
|
|
||||||
<not-bool/>
|
|
||||||
<not-uninit/>
|
|
||||||
</arg>
|
|
||||||
<arg nr="3">
|
|
||||||
<not-bool/>
|
|
||||||
<not-uninit/>
|
|
||||||
</arg>
|
|
||||||
<arg nr="4">
|
|
||||||
<not-bool/>
|
|
||||||
<not-null/>
|
|
||||||
</arg>
|
|
||||||
</function>
|
|
||||||
<!-- int epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout); -->
|
|
||||||
<function name="epoll_wait">
|
|
||||||
<noreturn>false</noreturn>
|
|
||||||
<returnValue type="int"/>
|
|
||||||
<arg nr="1">
|
|
||||||
<not-bool/>
|
|
||||||
<not-uninit/>
|
|
||||||
</arg>
|
|
||||||
<arg nr="2">
|
|
||||||
<not-bool/>
|
|
||||||
<not-null/>
|
|
||||||
</arg>
|
|
||||||
<arg nr="3">
|
|
||||||
<not-bool/>
|
|
||||||
<not-uninit/>
|
|
||||||
<valid>1:</valid>
|
|
||||||
</arg>
|
|
||||||
<arg nr="4">
|
|
||||||
<not-bool/>
|
|
||||||
<not-uninit/>
|
|
||||||
</arg>
|
|
||||||
</function>
|
|
||||||
<!-- int epoll_pwait(int epfd, struct epoll_event *events, int maxevents, int timeout, const sigset_t *sigmask); -->
|
|
||||||
<function name="epoll_pwait">
|
|
||||||
<noreturn>false</noreturn>
|
|
||||||
<returnValue type="int"/>
|
|
||||||
<arg nr="1">
|
|
||||||
<not-bool/>
|
|
||||||
<not-uninit/>
|
|
||||||
</arg>
|
|
||||||
<arg nr="2">
|
|
||||||
<not-bool/>
|
|
||||||
<not-null/>
|
|
||||||
</arg>
|
|
||||||
<arg nr="3">
|
|
||||||
<not-bool/>
|
|
||||||
<not-uninit/>
|
|
||||||
<valid>1:</valid>
|
|
||||||
</arg>
|
|
||||||
<arg nr="4">
|
|
||||||
<not-bool/>
|
|
||||||
<not-uninit/>
|
|
||||||
</arg>
|
|
||||||
<arg nr="5">
|
|
||||||
<not-bool/>
|
|
||||||
<not-null/>
|
|
||||||
<not-uninit/>
|
|
||||||
</arg>
|
|
||||||
</function>
|
|
||||||
<resource>
|
|
||||||
<dealloc>close</dealloc>
|
|
||||||
<alloc init="true">epoll_create</alloc>
|
|
||||||
</resource>
|
|
||||||
<resource>
|
|
||||||
<dealloc>close</dealloc>
|
|
||||||
<alloc init="true">epoll_create1</alloc>
|
|
||||||
</resource>
|
|
||||||
<podtype name="epoll_event"/>
|
<podtype name="epoll_event"/>
|
||||||
<!-- int epoll_create(int size);
|
<!-- int epoll_create(int size);
|
||||||
int epoll_create1(int flags); -->
|
int epoll_create1(int flags); -->
|
||||||
|
|
Loading…
Reference in New Issue