瀏覽代碼

declare errno in cerror.s

ceriel 29 年之前
父節點
當前提交
5a6d5d877f
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      mach/sparc_solaris/libsys/cerror.s

+ 3 - 1
mach/sparc_solaris/libsys/cerror.s

@@ -1,4 +1,4 @@
-.global $errno, cerror, _cerror
+.global $errno, cerror, _cerror, errno
 
 .type _cerror, #function
 
@@ -16,3 +16,5 @@ _cerror:
 .section ".data"
 $errno:
 	.long	0
+errno:
+	.long	0