Commit c681f963 authored by Bernhard Link's avatar Bernhard Link

signature_sign only used internally, so make it static

parent 0e9f3357
/* This file is part of "reprepro"
* Copyright (C) 2003,2004,2005,2006,2007 Bernhard R. Link
* Copyright (C) 2003,2004,2005,2006,2007,2009 Bernhard R. Link
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
......@@ -329,7 +329,7 @@ retvalue signature_check(const struct strlist *requirements, const char *release
#endif /* HAVE_LIBGPGME */
}
retvalue signature_sign(const char *options, const char *filename, const char *signaturename) {
static retvalue signature_sign(const char *options, const char *filename, const char *signaturename) {
retvalue r;
int ret, e;
#ifdef HAVE_LIBGPGME
......
......@@ -11,7 +11,6 @@
retvalue signature_init(bool allowpassphrase);
retvalue signature_check(const struct strlist *options, const char *releasegpg, const char *release);
retvalue signature_sign(const char *options, const char *filename, const char *signeturename);
/* Read a single chunk from a file, that may be signed. */
retvalue signature_readsignedchunk(const char *filename, const char *filenametoshow, char **chunkread, /*@null@*/ /*@out@*/struct strlist *validkeys, /*@null@*/ /*@out@*/ struct strlist *allkeys, bool *brokensignature);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment