diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2019-02-08 20:26:14 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2019-02-09 15:40:28 +0100 |
commit | 1ae51ff94d0f1f27a4e4cc657371578db13c3ca1 (patch) | |
tree | f383cb73afa171ac10ab91eafea9f11804042744 /src/task.h | |
parent | fb958041310617c7aeef36a8dc9041e2a51fae6d (diff) |
Make code compile again (fix bitrot dating back from 2013).
Diffstat (limited to 'src/task.h')
-rw-r--r-- | src/task.h | 14 |
1 files changed, 6 insertions, 8 deletions
@@ -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__*/ |