]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - Ada95/src/c_threaded_variables.c
ncurses 6.5 - patch 20240504
[ncurses.git] / Ada95 / src / c_threaded_variables.c
index bc58c46abefebd32e628075745ca1e188468495e..44b4bcbc9e131d78d308c0c7019f459940c68abf 100644 (file)
@@ -1,5 +1,6 @@
 /****************************************************************************
- * Copyright (c) 2011,2014 Free Software Foundation, Inc.                   *
+ * Copyright 2020,2022 Thomas E. Dickey                                     *
+ * Copyright 2014 Free Software Foundation, Inc.                            *
  *                                                                          *
  * Permission is hereby granted, free of charge, to any person obtaining a  *
  * copy of this software and associated documentation files (the            *
@@ -34,7 +35,7 @@
 
 #define WRAP(type, name)        \
   type                          \
-  name ## _as_function ()       \
+  name ## _as_function (void)   \
   {                             \
     return name;                \
   }