diff --git a/doc/langref.html.in b/doc/langref.html.in
index f496019838..3ab279ff12 100644
--- a/doc/langref.html.in
+++ b/doc/langref.html.in
@@ -1317,7 +1317,7 @@ const @"identifier with spaces in it" = 0xff;
const @"1SmallStep4Man" = 112358;
const c = @import("std").c;
-pub extern "c" fn @"error"() anyopaque;
+pub extern "c" fn @"error"() void;
pub extern "c" fn @"fstat$INODE64"(fd: c.fd_t, buf: *c.Stat) c_int;
const Color = enum {