chiark / gitweb /
prefork-interp: include more stuff in hash
[chiark-utils.git] / cprogs / prefork.h
index 66ed5fc8f223043e43b9f0fed6564df0e0c8e803..cfbd715fe24355933e0c60c97530430dfcae9e31 100644 (file)
@@ -88,4 +88,7 @@ void off_ident_addenv(const struct cmdinfo *ci, const char *name);
 void ident_addinit(void);
 bool stabs_same_inode(struct stat *a, struct stat *b);
 
+#define IDENT_ADD_OBJ(obj) \
+  sha256_update(&identsc, sizeof((obj)), (void*)&obj);
+
 #endif /*PREFORK_H*/