9front - general discussion about 9front
 help / color / mirror / Atom feed
From: an2qzavok@gmail.com
To: 9front@9front.org
Subject: [9front] Re: qsort: update function description in /sys/include
Date: Wed, 11 Aug 2021 15:58:53 +0300	[thread overview]
Message-ID: <5b2ba8c2d7dd1ebbcfd2af7d6bba4886beb742e7.camel@gmail.com> (raw)
In-Reply-To: <fd4ef8036d4813b706c1d951e6ef8e5cc96d6913.camel@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 477 bytes --]

I was too hasty with this one, 9/port/lib.h also needs an update:
---
//.git/fs/object/a9bccf9e9b1bd408629edaac277f6b3a3a4ab6fb/tree/sys/src/
9/port/lib.h
+++ sys/src/9/port/lib.h
@@ -158,7 +158,7 @@
 extern	int	dec64(uchar*, int, char*, int);
 extern	int	dec16(uchar*, int, char*, int);
 extern	int	encodefmt(Fmt*);
-extern	void	qsort(void*, long, long, int (*)(void*, void*));
+extern	void	qsort(void*, usize, usize, int (*)(void*, void*));
 
 /*
  * Syscall data structures

[-- Attachment #2: lib.h.diff --]
[-- Type: text/x-patch, Size: 410 bytes --]

--- //.git/fs/object/a9bccf9e9b1bd408629edaac277f6b3a3a4ab6fb/tree/sys/src/9/port/lib.h
+++ sys/src/9/port/lib.h
@@ -158,7 +158,7 @@
 extern	int	dec64(uchar*, int, char*, int);
 extern	int	dec16(uchar*, int, char*, int);
 extern	int	encodefmt(Fmt*);
-extern	void	qsort(void*, long, long, int (*)(void*, void*));
+extern	void	qsort(void*, usize, usize, int (*)(void*, void*));
 
 /*
  * Syscall data structures

           reply	other threads:[~2021-08-13  5:07 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <fd4ef8036d4813b706c1d951e6ef8e5cc96d6913.camel@gmail.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5b2ba8c2d7dd1ebbcfd2af7d6bba4886beb742e7.camel@gmail.com \
    --to=an2qzavok@gmail.com \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).