reformat and cleanup more

reformat the source in an unified way.
(improve later with clang-format config)
fix order of includes
use proper delete[] operator
This commit is contained in:
Jonas Stein
2022-04-20 00:24:59 +02:00
parent aa2244308d
commit 88a507932e
5 changed files with 908 additions and 939 deletions

View File

@@ -13,6 +13,9 @@ but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
*/
#include "keyinfo.h"
#include "scsiencrypt.h"
#include <config.h>
#include <termios.h>
#ifdef HAVE_UNISTD_H
@@ -31,8 +34,6 @@ GNU General Public License for more details.
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#include "keyinfo.h"
#include "scsiencrypt.h"
#include <ostream>