summaryrefslogtreecommitdiff
path: root/sbin/iked
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2016-01-18 17:57:36 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2016-01-18 17:57:36 +0000
commit1f0673e8309d3a4c43d6de1aebb4e122998706b6 (patch)
tree1d9f442c27b9c6e4e48c97ddcddb76d5f7bc1921 /sbin/iked
parentbadd3ba1cb98180755713addf8b0b99346ea7b74 (diff)
struct file_media had 1 field left. And one place where struct
file_media was actually stored. So move the last field (fd) into the place formerly used to store pointer to the instance. As a result we can just pass fd's around rather than pointers to a struct containing a fd. close_file_media() becomes empty but for a close(). So just use close() and nuke close_file_media().
Diffstat (limited to 'sbin/iked')
0 files changed, 0 insertions, 0 deletions