X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fcryptsetup.h;h=5d322cf699e94b8d10ae479b4b6b6a5284685da4;hb=ad21d48762fa70838d4ab4fbe8fe2a2e8a4dcef1;hp=9d4e78af2ef94d428f0bb7e075030de44e0ae3a0;hpb=fe4175b551f9f5df2ba53adaec9dc67e3a8da23e;p=platform%2Fupstream%2Fcryptsetup.git diff --git a/src/cryptsetup.h b/src/cryptsetup.h index 9d4e78a..5d322cf 100644 --- a/src/cryptsetup.h +++ b/src/cryptsetup.h @@ -1,10 +1,10 @@ /* * cryptsetup - setup cryptographic volumes for dm-crypt * - * Copyright (C) 2004, Christophe Saout + * Copyright (C) 2004, Jana Saout * Copyright (C) 2004-2007, Clemens Fruhwirth * Copyright (C) 2009-2012, Red Hat, Inc. All rights reserved. - * Copyright (C) 2009-2012, Milan Broz + * Copyright (C) 2009-2014, Milan Broz * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -24,11 +24,6 @@ #ifndef CRYPTSETUP_H #define CRYPTSETUP_H -#define _LARGEFILE64_SOURCE -#define _FILE_OFFSET_BITS 64 - -#include - #include #include #include @@ -62,7 +57,7 @@ extern int opt_force_password; /* Common tools */ void clogger(struct crypt_device *cd, int level, const char *file, int line, - const char *format, ...); + const char *format, ...) __attribute__ ((format (printf, 5, 6))); void tool_log(int level, const char *msg, void *usrptr __attribute__((unused))); void quiet_log(int level, const char *msg, void *usrptr);