mirror of
https://github.com/reactos/reactos.git
synced 2024-08-29 14:48:37 +00:00
17 lines
215 B
C
17 lines
215 B
C
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
|
|
|
|
#ifdef _MSC_VER
|
|
#pragma warning(disable: 4164)
|
|
#pragma function(abs)
|
|
#endif
|
|
|
|
/*
|
|
* @implemented
|
|
*/
|
|
int
|
|
__cdecl
|
|
abs(int j)
|
|
{
|
|
return j<0 ? -j : j;
|
|
}
|