• Andrew Vagin's avatar
    test/rpc: include unistd.h · 94928cf8
    Andrew Vagin authored
    gcc -c test.c -I ./
    test.c: In function ‘recv_resp’:
    test.c:18:8: warning: implicit declaration of function ‘read’ [-Wimplicit-function-declaration]
      len = read(socket_fd, buf, MAX_MSG_SIZE);
            ^
    test.c: In function ‘send_req’:
    test.c:45:6: warning: implicit declaration of function ‘write’ [-Wimplicit-function-declaration]
      if (write(socket_fd, buf, len)  == -1) {
          ^
    test.c: In function ‘main’:
    test.c:165:2: warning: implicit declaration of function ‘close’ [-Wimplicit-function-declaration]
      close(fd);
    
    Reported-by: Mr Jenkins
    Signed-off-by: 's avatarAndrew Vagin <avagin@openvz.org>
    Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
    94928cf8
Name
Last commit
Last update
..
app-emu Loading commit data...
bers Loading commit data...
crit Loading commit data...
ext-links Loading commit data...
fault-injection Loading commit data...
jenkins Loading commit data...
libcriu Loading commit data...
mem-snap Loading commit data...
mounts Loading commit data...
overlayfs Loading commit data...
pipes Loading commit data...
rpc Loading commit data...
security Loading commit data...
socketpairs Loading commit data...
tcp Loading commit data...
unix-callback Loading commit data...
zdtm Loading commit data...
.gitignore Loading commit data...
Makefile Loading commit data...
Makefile.zdtm Loading commit data...
app-emu.sh Loading commit data...
env.sh Loading commit data...
functions.sh Loading commit data...
maps.py Loading commit data...
post-dump.sh Loading commit data...
zdtm.sh Loading commit data...
zdtm_ct.c Loading commit data...
zdtm_mount_cgroups Loading commit data...