瀏覽代碼
fix gcc-implicit-definitions
Program is using implicit definitions of special functions.
these functions need to use their correct prototypes to
allow the lightweight buffer overflow checking to work.
- Implicit memory/string functions need #include <string.h>
- Implicit *printf functions need #include <stdio.h>
- Implicit *printf functions need #include <stdio.h>
- Implicit *read* functions need #include <unistd.h>
- Implicit *recv* functions need #include <sys/socket.h>
Signed-off-by: madanyang <toganm@opensuse.org>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>