for portmap callit, change call_args and rell_result to prefix them with pmap_
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Sun, 26 Jun 2011 08:47:33 +0000 (18:47 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Sun, 26 Jun 2011 08:47:33 +0000 (18:47 +1000)
to avoid polluting the namespace too bad

portmap/portmap.x

index d28edca34a3f26d7a7e0f40f0ffa603619461cda..606583184f4f350aee5e2ed21d2d03f533b38a15 100644 (file)
@@ -11,14 +11,14 @@ struct pmap_mapping {
        unsigned int port;
 };
 
-struct call_args {
+struct pmap_call_args {
        unsigned int prog;
        unsigned int vers;
        unsigned int proc;
        opaque args<>;
 };
 
-struct call_result {
+struct pmap_call_result {
        unsigned int port;
        opaque res<>;
 };
@@ -37,8 +37,8 @@ program PMAP_PROGRAM {
                unsigned int
                PMAP_GETPORT(pmap_mapping)   = 3;
 
-               call_result
-               PMAP_CALLIT(call_args)  = 5;
+               pmap_call_result
+               PMAP_CALLIT(pmap_call_args)  = 5;
        } = 2;
 } = 100000;