aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorShav Kinderlehrer <[email protected]>2023-04-11 19:17:36 -0400
committerShav Kinderlehrer <[email protected]>2023-04-11 19:17:36 -0400
commit9ffc001bf21f4654871ced0378671509a34c8bb1 (patch)
tree45a178d02e53b4f9bb1c530af13774ab1a3bc2d5 /include
parentda0287ec63b2eeda4adeebc9f2bc13e4ebc82eaa (diff)
downloadlat-9ffc001bf21f4654871ced0378671509a34c8bb1.tar.gz
lat-9ffc001bf21f4654871ced0378671509a34c8bb1.zip
Try to approximate if file is printeablev0.3.0
Diffstat (limited to 'include')
-rw-r--r--include/file.h1
-rw-r--r--include/util.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/file.h b/include/file.h
index 9758fad..8dbaf86 100644
--- a/include/file.h
+++ b/include/file.h
@@ -5,6 +5,7 @@
struct filedata {
int lc;
size_t len;
+ int binary;
char *buf;
};
diff --git a/include/util.h b/include/util.h
index f77e226..ddb86fc 100644
--- a/include/util.h
+++ b/include/util.h
@@ -4,7 +4,7 @@
void die(const char *message);
-char *formatBytes(size_t bytes, float *rounded);
+char *formatbytes(size_t bytes, float *rounded);
int intlen(size_t i);
#endif