about summary refs log tree commit diff stats
path: root/part.h
diff options
context:
space:
mode:
authorPeter H. Froehlich <peter.hans.froehlich@gmail.com>2021-04-10 12:57:55 +0200
committerPeter H. Froehlich <peter.hans.froehlich@gmail.com>2021-04-10 12:57:55 +0200
commitd8db100f9b1913dd0e204f7561bc89f1f46fcefc (patch)
treefea7ded38204176e886119752f219dc720871664 /part.h
parentc902e91474706eea7a6f28910b777a3387168baa (diff)
downloadmkgpt-d8db100f9b1913dd0e204f7561bc89f1f46fcefc.tar.gz
Removed bad asserts, removed overly complex random, lots of other fixes.
Diffstat (limited to 'part.h')
-rw-r--r--part.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/part.h b/part.h
index 0d4b7c3..80504c8 100644
--- a/part.h
+++ b/part.h
@@ -1,3 +1,5 @@
+#pragma once
+
 /* Copyright (C) 2014 by John Cronin
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -37,7 +39,7 @@ typedef struct _part {
 	char *name;
 	FILE *src;
 
-	struct _part *next;
+	struct _part *next; /* TODO why build a list? */
 } PART;
 
 #endif