Convert u_int*_t to C99 standard uint*_t
authorAlan Coopersmith <alan.coopersmith@sun.com>
Tue, 24 Mar 2009 02:38:58 +0000 (19:38 -0700)
committerAlan Coopersmith <alan.coopersmith@sun.com>
Wed, 25 Mar 2009 18:07:31 +0000 (11:07 -0700)
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
include/EGL/eglext.h
include/EGL/eglplatform.h
src/mesa/drivers/dri/common/utils.c

index a4698ccd16091e092d89bcc11d57fdeba9bc4e75..b65f7f2bcc6a6acfdf4fd7220e3191a7f747701b 100644 (file)
@@ -136,8 +136,8 @@ typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYIMAGEKHRPROC) (EGLDisplay dpy, EGL
 #define EGL_INTERLACED_MESA                    0x4008
 #define EGL_SCREEN_BIT_MESA                    0x08
 
-typedef u_int32_t EGLScreenMESA;
-typedef u_int32_t EGLModeMESA;
+typedef uint32_t EGLScreenMESA;
+typedef uint32_t EGLModeMESA;
 
 #ifdef EGL_EGLEXT_PROTOTYPES
 EGLAPI EGLBoolean EGLAPIENTRY eglChooseModeMESA(EGLDisplay dpy, EGLScreenMESA screen, const EGLint *attrib_list, EGLModeMESA *modes, EGLint modes_size, EGLint *num_modes);
index d873428d756e5fa96f74a7cef5410ca38b817f99..0f34da063e376a70d83c426f4abe17705268c9fe 100644 (file)
@@ -57,7 +57,7 @@
 #endif
 
 typedef long   int32_t;
-typedef unsigned long u_int32_t;
+typedef unsigned long uint32_t;
 typedef unsigned char uint8_t;
 #define snprintf _snprintf
 #define strcasecmp _stricmp
index c9acd81be747a2800ca178ef1127b9c94c908114..66f277c10b25f742e7d1ad2111c5c27565279b0f 100644 (file)
@@ -481,7 +481,7 @@ driCreateConfigs(GLenum fb_format, GLenum fb_type,
                 const uint8_t * depth_bits, const uint8_t * stencil_bits,
                 unsigned num_depth_stencil_bits,
                 const GLenum * db_modes, unsigned num_db_modes,
-                const u_int8_t * msaa_samples, unsigned num_msaa_modes)
+                const uint8_t * msaa_samples, unsigned num_msaa_modes)
 {
    static const uint8_t bits_table[4][4] = {
      /* R  G  B  A */