]> andersk Git - splint.git/blob - test/manual/rstring.c
Fixes for win32
[splint.git] / test / manual / rstring.c
1 # include "rstring.h"
2
3 static rstring rstring_ref (rstring r)
4 {  
5   r->refs++;
6   return r;
7 }
8
9 rstring rstring_first (rstring r1, rstring r2)
10 {
11   if (strcmp (r1->contents, r2->contents) < 0)    
12     { 
13       return r1;    
14     }
15   else 
16     { 
17       return rstring_ref (r2);    
18     }
19 }
This page took 0.035007 seconds and 5 git commands to generate.