mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 03:47:17 +02:00
Remove 'extern' references from .cc files
This commit is contained in:
parent
efce59fc3f
commit
f300e3a164
19 changed files with 38 additions and 34 deletions
|
|
@ -30,11 +30,13 @@
|
|||
|
||||
ha_checksum my_checksum(ha_checksum crc, const byte *pos, uint length)
|
||||
{
|
||||
/* const byte *end=pos+length;
|
||||
#ifdef NOT_USED
|
||||
const byte *end=pos+length;
|
||||
for ( ; pos != end ; pos++)
|
||||
crc=((crc << 8) + *((uchar*) pos)) + (crc >> (8*sizeof(ha_checksum)-8));
|
||||
return crc;
|
||||
*/
|
||||
#else
|
||||
return (ha_checksum)crc32((uint)crc, (const uchar *)pos, length);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
a shared library
|
||||
*/
|
||||
|
||||
#include "mysys_priv.h"
|
||||
#include <signal.h>
|
||||
|
||||
#define MAX_SIGNALS 10 /* Max signals under a dont-allow */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue