mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
gpg: A little clean up.
* g10/keyserver.c: Don't include exec.h. * g10/photoid.c (image_type_to_string): It's constant. * g10/photoid.h (image_type_to_string): Likewise. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
13bc0431ff
commit
7bfbb9fa7e
3 changed files with 4 additions and 4 deletions
|
@ -233,9 +233,10 @@ int parse_image_header(const struct user_attribute *attr,byte *type,u32 *len)
|
|||
make sure it is not too big (see parse-packet.c:parse_attribute).
|
||||
Extensions should be 3 characters long for the best cross-platform
|
||||
compatibility. */
|
||||
char *image_type_to_string(byte type,int style)
|
||||
const char *
|
||||
image_type_to_string(byte type,int style)
|
||||
{
|
||||
char *string;
|
||||
const char *string;
|
||||
|
||||
switch(type)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue