From 60a4bda9d489aa6c1da46ed35a2e7b414ba1ff59 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Thu, 9 Mar 2017 13:49:03 -0500 Subject: basecmd: Use oid_ prefix for the oid manipulation functions Consistently use an "oid_" prefix on the oid functions - this makes them similar to other functions with a common prefix. Signed-off-by: Kevin O'Connor --- src/basecmd.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/basecmd.h') diff --git a/src/basecmd.h b/src/basecmd.h index b795e4db..987d7498 100644 --- a/src/basecmd.h +++ b/src/basecmd.h @@ -6,11 +6,11 @@ void move_free(void *m); void *move_alloc(void); void move_request_size(int size); -void *lookup_oid(uint8_t oid, void *type); -void *alloc_oid(uint8_t oid, void *type, uint16_t size); -void *next_oid(uint8_t *i, void *type); +void *oid_lookup(uint8_t oid, void *type); +void *oid_alloc(uint8_t oid, void *type, uint16_t size); +void *oid_next(uint8_t *i, void *type); #define foreach_oid(pos,data,oidtype) \ - for (pos=-1; (data=next_oid(&pos, oidtype)); ) + for (pos=-1; (data=oid_next(&pos, oidtype)); ) #endif // basecmd.h -- cgit v1.2.3-70-g09d2