]> andersk Git - splint.git/blobdiff - test/temp/test.c
*** empty log message ***
[splint.git] / test / temp / test.c
index 9473ed369fcda27f0b2b1837d86b3cd0a0b21408..02ca7d077a658909426cf31625f9b6453bb42384 100644 (file)
@@ -1,15 +1,9 @@
-char *x;
-
-int f (void)
+static int
+PutPixel32MSB(char * chp, int x)
 {
-  if (3 > 4) 
-    {
-      x = 0;
-    }
-  else
-    {
-      return 1;
-    }
+    unsigned char *addr;
 
-  return 3;
+    addr = &((unsigned char *)chp) [x];
+    addr[0] = 3;
+    return 1;
 }
This page took 0.054805 seconds and 4 git commands to generate.