lib/macros.c: Use `void (*)(void)' as the universal function-pointer.
[disorder] / lib / version.h
index 0b0a004..51a32a0 100644 (file)
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
+/** @file lib/version.h
+ * @brief Display version string and exit
+ */
 #ifndef VERSION_H
 #define VERSION_H
 
-void version(const char *name);
+void attribute((noreturn)) version(const char *name);
 
 #endif /* VERSION_H */