summaryrefslogtreecommitdiff
path: root/trysocket.c
diff options
context:
space:
mode:
authorFelix von Leitner <felix-libowfat@fefe.de>2014-03-13 22:25:20 +0000
committerFelix von Leitner <felix-libowfat@fefe.de>2014-03-13 22:25:20 +0000
commit6a1c199a99f034eec92984c3d097c0a6c3a7820b (patch)
treef587ff8107f561209edb3244807c9484ce513275 /trysocket.c
parentf03d88a4c7c56add3677cd047fe8e3ce7b5547b1 (diff)
downloadlibowfat-6a1c199a99f034eec92984c3d097c0a6c3a7820b.tar.gz
libowfat-6a1c199a99f034eec92984c3d097c0a6c3a7820b.zip
$ make WERROR=-Werror now builds with -Werror
add some single char escaping routines to fmt.h pull in html5 entities from w3c and use those to do a proper scan_html decoding fix an off-by-one in fmt_to_array add a ton of unit tests for the fmt routines
Diffstat (limited to 'trysocket.c')
-rw-r--r--trysocket.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/trysocket.c b/trysocket.c
index 8623452..f7324ae 100644
--- a/trysocket.c
+++ b/trysocket.c
@@ -2,6 +2,8 @@
#include <sys/socket.h>
#include <netinet/in.h>
-main() {
+int main() {
int fd=socket(PF_INET,SOCK_STREAM,IPPROTO_TCP);
+ (int)fd;
+ return 0;
}