diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/backup.h | 5 | ||||
| -rw-r--r-- | src/options.h | 5 | ||||
| -rw-r--r-- | src/restore.h | 5 |
3 files changed, 3 insertions, 12 deletions
diff --git a/src/backup.h b/src/backup.h index 38a0b68..ed7bf1a 100644 --- a/src/backup.h +++ b/src/backup.h @@ -24,8 +24,7 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef BACKUP_H -#define BACKUP_H +#pragma once #include "exception.h" #include "options.h" @@ -37,5 +36,3 @@ class BackupError : public DiffddError }; void backup(const OptionsBackup &opts); - -#endif /* BACKUP_H */ diff --git a/src/options.h b/src/options.h index 2355082..3d80c67 100644 --- a/src/options.h +++ b/src/options.h @@ -24,8 +24,7 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef OPTIONS_H -#define OPTIONS_H +#pragma once #include "exception.h" @@ -110,5 +109,3 @@ class OptionParser Options &opts); static const char *next_arg(char ***const argv); }; - -#endif /* OPTIONS_H */ diff --git a/src/restore.h b/src/restore.h index 4aee092..ac98517 100644 --- a/src/restore.h +++ b/src/restore.h @@ -24,8 +24,7 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef RESTORE_H -#define RESTORE_H +#pragma once #include "exception.h" #include "options.h" @@ -37,5 +36,3 @@ class RestoreError : public DiffddError }; void restore(const OptionsRestore &opts); - -#endif /* RESTORE_H */ |
