diff options
| author | NIIBE Yutaka <[email protected]> | 2019-07-23 03:04:21 +0000 |
|---|---|---|
| committer | NIIBE Yutaka <[email protected]> | 2019-07-23 03:04:21 +0000 |
| commit | 7bfbb9fa7e7693cd7f19a8d130aa0a9a82825d5d (patch) | |
| tree | ce5bc4f29a2278f3e3897499dc447c34562adfe6 /g10/photoid.h | |
| parent | scd: Error code map fix for older Yubikey. (diff) | |
| download | gnupg-7bfbb9fa7e7693cd7f19a8d130aa0a9a82825d5d.tar.gz gnupg-7bfbb9fa7e7693cd7f19a8d130aa0a9a82825d5d.zip | |
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 <[email protected]>
Diffstat (limited to 'g10/photoid.h')
| -rw-r--r-- | g10/photoid.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/photoid.h b/g10/photoid.h index fc7ec6fbc..bbf1f493e 100644 --- a/g10/photoid.h +++ b/g10/photoid.h @@ -27,7 +27,7 @@ PKT_user_id *generate_photo_id (ctrl_t ctrl, PKT_public_key *pk,const char *filename); int parse_image_header(const struct user_attribute *attr,byte *type,u32 *len); -char *image_type_to_string(byte type,int style); +const char *image_type_to_string(byte type,int style); void show_photos (ctrl_t ctrl, const struct user_attribute *attrs, int count, PKT_public_key *pk, PKT_user_id *uid); |
