From 2b727d9e7bf8c6e02e0e9eead424b76bc6f0f93d Mon Sep 17 00:00:00 2001 From: sam Date: Mon, 3 Jan 2005 10:43:31 +0000 Subject: [PATCH] * proper headers. git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/pwntcha/trunk@382 92316355-f0b4-4df1-b90c-862c8a59935f --- README | 2 +- src/common.h | 10 ++++++++++ src/image.c | 10 ++++++++++ src/main.c | 10 ++++++++++ src/slashdot.c | 13 ++++++++++++- 5 files changed, 43 insertions(+), 2 deletions(-) diff --git a/README b/README index 6bd6ead..3971d36 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ PWNTCHA - Pretend We're Not a Turing Computer but a Human Antagonist -This research software studies captchas. +This is research software. It comes with absolutely no warranty. diff --git a/src/common.h b/src/common.h index c00d016..a2a17e6 100644 --- a/src/common.h +++ b/src/common.h @@ -1,3 +1,13 @@ +/* + * commin.h: common stuff + * $Id$ + * + * Copyright: (c) 2004 Sam Hocevar + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Do What The Fuck You Want To + * Public License as published by Banlu Kemiyatorn. See + * http://sam.zoy.org/projects/COPYING.WTFPL for more details. + */ /* image structure */ struct image diff --git a/src/image.c b/src/image.c index 98419fc..f9fc990 100644 --- a/src/image.c +++ b/src/image.c @@ -1,3 +1,13 @@ +/* + * image.c: image I/O functions + * $Id$ + * + * Copyright: (c) 2004 Sam Hocevar + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Do What The Fuck You Want To + * Public License as published by Banlu Kemiyatorn. See + * http://sam.zoy.org/projects/COPYING.WTFPL for more details. + */ #include #include diff --git a/src/main.c b/src/main.c index faaa239..1da3e94 100644 --- a/src/main.c +++ b/src/main.c @@ -1,3 +1,13 @@ +/* + * main.c: main function + * $Id$ + * + * Copyright: (c) 2004 Sam Hocevar + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Do What The Fuck You Want To + * Public License as published by Banlu Kemiyatorn. See + * http://sam.zoy.org/projects/COPYING.WTFPL for more details. + */ #include #include diff --git a/src/slashdot.c b/src/slashdot.c index 7eaccfa..1948a67 100644 --- a/src/slashdot.c +++ b/src/slashdot.c @@ -1,7 +1,18 @@ +/* + * slashdot.c: decode Slashdot captchas + * $Id$ + * + * Copyright: (c) 2004 Sam Hocevar + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Do What The Fuck You Want To + * Public License as published by Banlu Kemiyatorn. See + * http://sam.zoy.org/projects/COPYING.WTFPL for more details. + */ #include #include #include +#include #include "config.h" #include "common.h" @@ -608,7 +619,7 @@ char * slashdot_decode(char *image) // display(tmp); // dst = median(tmp); -tmp = smooth(img); +//tmp = smooth(img); tmp = fill_holes(img); tmp = median(tmp); //tmp = smooth(tmp);