nixpkgs-suyu/pkgs/tools/misc/parted/parted-trailingcomma.patch

21 lines
751 B
Diff

diff -ruN parted-1.6.23/include/parted/exception.h parted-1.6.23.new/include/parted/exception.h
--- parted-1.6.23/include/parted/exception.h 2001-12-27 01:26:09.000000000 +0100
+++ parted-1.6.23.new/include/parted/exception.h 2005-08-01 11:28:38.000000000 +0200
@@ -28,7 +28,7 @@
PED_EXCEPTION_ERROR=3,
PED_EXCEPTION_FATAL=4,
PED_EXCEPTION_BUG=5,
- PED_EXCEPTION_NO_FEATURE=6,
+ PED_EXCEPTION_NO_FEATURE=6
};
typedef enum _PedExceptionType PedExceptionType;
@@ -40,7 +40,7 @@
PED_EXCEPTION_OK=8,
PED_EXCEPTION_RETRY=16,
PED_EXCEPTION_IGNORE=32,
- PED_EXCEPTION_CANCEL=64,
+ PED_EXCEPTION_CANCEL=64
};
typedef enum _PedExceptionOption PedExceptionOption;
#define PED_EXCEPTION_OK_CANCEL (PED_EXCEPTION_OK + PED_EXCEPTION_CANCEL)