correct small typos in comments

This commit is contained in:
Amilcar Lucas 2012-03-11 21:30:09 +01:00
parent 2a03a0584f
commit 6e9ffb4249
2 changed files with 2 additions and 2 deletions

View File

@ -519,7 +519,7 @@
/* The following parmaeters have no corresponding control implementation /* The following parameters have no corresponding control implementation
#ifndef THROTTLE_ALT_P #ifndef THROTTLE_ALT_P
# define THROTTLE_ALT_P 0.32 # define THROTTLE_ALT_P 0.32
#endif #endif

View File

@ -22,7 +22,7 @@
#define AP_MAX_NAME_SIZE 15 #define AP_MAX_NAME_SIZE 15
#define AP_NESTED_GROUPS_ENABLED #define AP_NESTED_GROUPS_ENABLED
// a varient of offsetof() to work around C++ restrictions. // a variant of offsetof() to work around C++ restrictions.
// this can only be used when the offset of a variable in a object // this can only be used when the offset of a variable in a object
// is constant and known at compile time // is constant and known at compile time
#define AP_VAROFFSET(type, element) (((uintptr_t)(&((const type *)1)->element))-1) #define AP_VAROFFSET(type, element) (((uintptr_t)(&((const type *)1)->element))-1)