mirror of
https://github.com/dynup/kpatch
synced 2024-12-11 07:54:36 +00:00
1f4551a49e
Convert magic exit status values into a common enum for clarity. Suggested-by: Artem Savkov <asavkov@redhat.com> Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com>
12 lines
197 B
C
12 lines
197 B
C
#ifndef _KPATCH_H_
|
|
#define _KPATCH_H_
|
|
|
|
enum exit_status {
|
|
EXIT_STATUS_SUCCESS = 0,
|
|
EXIT_STATUS_ERROR = 1,
|
|
EXIT_STATUS_DIFF_FATAL = 2,
|
|
EXIT_STATUS_NO_CHANGE = 3,
|
|
};
|
|
|
|
#endif /* _KPATCH_H_ */
|