]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - Ada95/src/c_threaded_variables.c
ncurses 6.3 - patch 20221112
[ncurses.git] / Ada95 / src / c_threaded_variables.c
index 4c13153ed095d579750d68c2f34b4c2cb4ac3f01..44b4bcbc9e131d78d308c0c7019f459940c68abf 100644 (file)
@@ -1,5 +1,5 @@
 /****************************************************************************
- * Copyright 2020 Thomas E. Dickey                                          *
+ * Copyright 2020,2022 Thomas E. Dickey                                     *
  * Copyright 2014 Free Software Foundation, Inc.                            *
  *                                                                          *
  * Permission is hereby granted, free of charge, to any person obtaining a  *
@@ -35,7 +35,7 @@
 
 #define WRAP(type, name)        \
   type                          \
-  name ## _as_function ()       \
+  name ## _as_function (void)   \
   {                             \
     return name;                \
   }