All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
To: xen-devel <xen-devel@lists.xensource.com>
Subject: [PATCH] add few missing constants in limits.h
Date: Thu, 25 Jun 2009 14:09:11 +0100	[thread overview]
Message-ID: <4A4376F7.2010109@eu.citrix.com> (raw)

Hi all,
this patch adds two constants missing from limits.h.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>

---

diff -r cbe6eaa7b7c3 extras/mini-os/include/posix/limits.h
--- a/extras/mini-os/include/posix/limits.h	Tue Jun 23 17:17:13 2009 +0100
+++ b/extras/mini-os/include/posix/limits.h	Wed Jun 24 19:26:10 2009 +0100
@@ -21,7 +21,9 @@
 #define INT_MIN         (-INT_MAX-1)
 #define UINT_MAX        0xffffffff
 
+#define SHRT_MIN	(-0x8000)
 #define SHRT_MAX        0x7fff
+#define USHRT_MAX       0xffff
 
 #if defined(__x86_64__) || defined(__ia64__)
 # define LONG_MAX       0x7fffffffffffffffL

                 reply	other threads:[~2009-06-25 13:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4A4376F7.2010109@eu.citrix.com \
    --to=stefano.stabellini@eu.citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.