mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-18 17:14:28 +00:00
Remove duplicated include statements
for filename in *.c; do
if sort "$filename" | uniq -d | grep include; then
echo "$filename"
fi
done
Acked-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Radostin Stoyanov <rstoyanov1@gmail.com>
Signed-off-by: Andrei Vagin <avagin@gmail.com>
This commit is contained in:
parent
1bdfa1caac
commit
4750395720
9 changed files with 0 additions and 17 deletions
|
|
@ -9,7 +9,6 @@
|
|||
#include <sys/signalfd.h>
|
||||
#include <sys/ptrace.h>
|
||||
#include <sys/wait.h>
|
||||
#include <sys/socket.h>
|
||||
#include <fcntl.h>
|
||||
#include <signal.h>
|
||||
#include <linux/if.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
#include <sys/time.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdarg.h>
|
||||
|
|
@ -14,7 +13,6 @@
|
|||
#include <sys/stat.h>
|
||||
#include <sys/vfs.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/resource.h>
|
||||
#include <sys/wait.h>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -37,7 +37,6 @@
|
|||
#include "sk-packet.h"
|
||||
#include "common/lock.h"
|
||||
#include "files.h"
|
||||
#include "files-reg.h"
|
||||
#include "pipes.h"
|
||||
#include "fifo.h"
|
||||
#include "sk-inet.h"
|
||||
|
|
@ -66,7 +65,6 @@
|
|||
#include "plugin.h"
|
||||
#include "cgroup.h"
|
||||
#include "timerfd.h"
|
||||
#include "file-lock.h"
|
||||
#include "action-scripts.h"
|
||||
#include "shmem.h"
|
||||
#include <compel/compel.h>
|
||||
|
|
|
|||
|
|
@ -37,8 +37,6 @@
|
|||
#include "irmap.h"
|
||||
#include "kerndat.h"
|
||||
#include "proc_parse.h"
|
||||
#include <sys/un.h>
|
||||
#include <sys/socket.h>
|
||||
#include "common/scm.h"
|
||||
#include "uffd.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <limits.h>
|
||||
#include <sys/stat.h>
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <limits.h>
|
||||
#include <sys/stat.h>
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <stdlib.h>
|
||||
#include <signal.h>
|
||||
#include <string.h>
|
||||
#include <utime.h>
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <sys/mount.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/wait.h>
|
||||
#include <sched.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -8,8 +8,6 @@
|
|||
#include <limits.h>
|
||||
#include <signal.h>
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#include <dirent.h>
|
||||
#include <sys/sendfile.h>
|
||||
#include <fcntl.h>
|
||||
|
|
@ -19,14 +17,10 @@
|
|||
#include <sys/param.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/ptrace.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/resource.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/mman.h>
|
||||
#include <sys/ptrace.h>
|
||||
#include <sys/wait.h>
|
||||
#include <sys/resource.h>
|
||||
#include <sys/wait.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netdb.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue