X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fmodules%2Fnotes%2Fserv_notes.c;h=4ae8ac077a90a2863e899c42edd2eda8771131d6;hb=882ff5a53c3b4e440520a073cf07dc60b2671876;hp=cb21be03ddd55e6448a9e2421f038be56af5e02c;hpb=72cf2e7f757fd0d4e977be9154222be3af77b59c;p=citadel.git diff --git a/citadel/modules/notes/serv_notes.c b/citadel/modules/notes/serv_notes.c index cb21be03d..4ae8ac077 100644 --- a/citadel/modules/notes/serv_notes.c +++ b/citadel/modules/notes/serv_notes.c @@ -3,19 +3,13 @@ * * Copyright (c) 2007-2012 by the citadel.org team * - * This program is open source software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 3. - * - * + * This program is open source software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 3. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * - * - * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. */ #include "sysdep.h" @@ -27,18 +21,7 @@ #include #include #include - -#if TIME_WITH_SYS_TIME -# include -# include -#else -# if HAVE_SYS_TIME_H -# include -# else -# include -# endif -#endif - +#include #include #include #include @@ -51,7 +34,6 @@ #include "user_ops.h" #include "database.h" #include "msgbase.h" - #include "ctdl_module.h" @@ -80,7 +62,7 @@ void notes_extract_vnote(char *name, char *filename, char *partnum, char *disp, * and modern vNote format notes) and does its best to learn the subject (summary) * and EUID (uid) of the note for Citadel's own nefarious purposes. */ -int serv_notes_beforesave(struct CtdlMessage *msg, recptypes *recp) +int serv_notes_beforesave(struct CtdlMessage *msg, struct recptypes *recp) { char *p; int a, i;