summaryrefslogtreecommitdiff
path: root/src/task.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/task.h')
-rw-r--r--src/task.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/task.h b/src/task.h
index 0c64c04..ec00939 100644
--- a/src/task.h
+++ b/src/task.h
@@ -25,8 +25,7 @@
* along with Munia; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
*/
-#ifndef __MUNIA_TASK_H__
-#define __MUNIA_TASK_H__
+#pragma once
#include <string>
#include <list>
@@ -35,10 +34,9 @@
typedef unsigned int taskid_t;
typedef std::list<taskid_t> TaskIdList;
-typedef struct {
- taskid_t id;
- taskid_t parentid;
- std::map<std::string, std::string> attributes;
+typedef struct
+{
+ taskid_t id;
+ taskid_t parentid;
+ std::map<std::string, std::string> attributes;
} task_t;
-
-#endif/*__MUNIA_TASK_H__*/