summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-12-13 10:43:20 -0500
committermidipix <writeonce@midipix.org>2017-12-13 11:24:14 -0500
commit068b8d92e7dbbda4dac003ef47d45b8beb4b5ad8 (patch)
tree92408ffa82c4bd96a17f2ecc45a89394b3420d86
parentf3d26e13d91f3ca06ab3de9714a908596a0e7e36 (diff)
downloadperk-068b8d92e7dbbda4dac003ef47d45b8beb4b5ad8.tar.bz2
perk-068b8d92e7dbbda4dac003ef47d45b8beb4b5ad8.tar.xz
refactor: perk.h: moved struct pe_source_version to the driver section.
-rw-r--r--include/perk/perk.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/perk/perk.h b/include/perk/perk.h
index 1bc20a0..e7c8b21 100644
--- a/include/perk/perk.h
+++ b/include/perk/perk.h
@@ -64,13 +64,6 @@ enum pe_custom_error {
PERK_ERR_CAP,
};
-struct pe_source_version {
- int major;
- int minor;
- int revision;
- const char * commit;
-};
-
struct pe_raw_image {
void * addr;
size_t size;
@@ -113,6 +106,13 @@ struct pe_image_meta {
struct pe_meta_sec_hdr * h_idata;
};
+struct pe_source_version {
+ int major;
+ int minor;
+ int revision;
+ const char * commit;
+};
+
struct pe_error_info {
const struct pe_driver_ctx * edctx;
const struct pe_unit_ctx * euctx;