[LON-CAPA-cvs] cvs: loncom /homework/caparesponse caparesponse.c
raeburn
raeburn at source.lon-capa.org
Sun Apr 28 20:34:55 EDT 2024
raeburn Mon Apr 29 00:34:55 2024 EDT
Modified files:
/loncom/homework/caparesponse caparesponse.c
Log:
- Stop implicit-function-declaration warning in caparesponse_get_real_response
function when compiling caparesponse.c on Ubuntu 24.04.
Index: loncom/homework/caparesponse/caparesponse.c
diff -u loncom/homework/caparesponse/caparesponse.c:1.22 loncom/homework/caparesponse/caparesponse.c:1.23
--- loncom/homework/caparesponse/caparesponse.c:1.22 Mon Apr 29 00:22:49 2024
+++ loncom/homework/caparesponse/caparesponse.c Mon Apr 29 00:34:55 2024
@@ -1,6 +1,6 @@
/* The LearningOnline Network with CAPA
* CAPA wrapper code
- * $Id: caparesponse.c,v 1.22 2024/04/29 00:22:49 raeburn Exp $
+ * $Id: caparesponse.c,v 1.23 2024/04/29 00:34:55 raeburn Exp $
*
* Copyright Michigan State University Board of Trustees
*
@@ -27,6 +27,7 @@
#include <capaCommon.h>
#include <ranlib.h>
+#include <ctype.h> /* isdigit() */
PointsList_t * parse_pts_list (char *pts_list) {
PointsList_t *new=NULL, *end=NULL, *beforeend=NULL, *rlist=NULL;
More information about the LON-CAPA-cvs
mailing list