fix spelling errors
This commit is contained in:
1 parent
58debe99ed
commit
595bb8fb62
157 files changed
+271
-271
No files matched your search
@@ -20,19 +20,19 @@
|
||||
|
||||
size_t adjustToWorstCaseAlignment(size_t size)
|
||||
{
|
||||
union aline {
|
||||
/* largest primative types (so far...) */
|
||||
union align {
|
||||
/* largest primitive types (so far...) */
|
||||
double dval;
|
||||
size_t uval;
|
||||
char *ptr;
|
||||
};
|
||||
|
||||
/* assert that alignment size is a power of 2 */
|
||||
STATIC_ASSERT((sizeof(union aline) & (sizeof(union aline)-1))==0);
|
||||
STATIC_ASSERT((sizeof(union align) & (sizeof(union align)-1))==0);
|
||||
|
||||
/* round up to aligment size */
|
||||
/* round up to alignment size */
|
||||
size--;
|
||||
size |= sizeof(union aline)-1;
|
||||
size |= sizeof(union align)-1;
|
||||
size++;
|
||||
|
||||
return size;
|
||||
|
||||
@@ -93,7 +93,7 @@ LIBCOM_API size_t epicsStrnEscapedFromRawSize(const char *buf, size_t len);
|
||||
*/
|
||||
LIBCOM_API int epicsStrCaseCmp(const char *s1, const char *s2);
|
||||
|
||||
/** \brief Does case-insensitive comparision of two strings
|
||||
/** \brief Does case-insensitive comparison of two strings
|
||||
*
|
||||
* Implements strncmp from the C standard library, except is case insensitive
|
||||
*/
|
||||
|
||||
@@ -155,7 +155,7 @@ void ipAddrToAsciiEngine::cleanup()
|
||||
ipAddrToAsciiEnginePrivate::pEngine = 0;
|
||||
}
|
||||
|
||||
// for now its probably sufficent to allocate one
|
||||
// for now its probably sufficient to allocate one
|
||||
// DNS transaction thread for all codes sharing
|
||||
// the same process that need DNS services but we
|
||||
// leave our options open for the future
|
||||
|
||||
Reference in new issue
Block a user