]> git.pond.sub.org Git - empserver/blobdiff - include/power.h
Update copyright notice
[empserver] / include / power.h
index b99ff19bcf0c9b8a86244eb6f129e340f14c0801..3a884a305229e0568079559e9452776b436f19fb 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2006, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2009, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                           Ken Stevens, Steve McClure
  *
  *  This program is free software; you can redistribute it and/or modify
@@ -26,9 +26,9 @@
  *  ---
  *
  *  power.h: Definitions for things having to do with the power report.
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 #ifndef POWER_H
@@ -59,6 +59,6 @@ struct powstr {
 
 #define getpower(n, p) ef_read(EF_POWER, (n), (p))
 #define putpower(n, p) ef_write(EF_POWER, (n), (p))
-#define getpowerp(n) (struct powstr *)ef_ptr(EF_POWER, (n))
+#define getpowerp(n) ((struct powstr *)ef_ptr(EF_POWER, (n)))
 
 #endif