mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: use std:: qualifier on ::abort, ::exit
- consistent with use of <cstdlib> and makes for a stronger distinct from Foam::abort etc.
This commit is contained in:
committed by
Andrew Heather
parent
dd9b7d3d7e
commit
f3670521cd
@ -1,6 +1,6 @@
|
||||
#include "stream.h"
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
#include <cstdlib>
|
||||
|
||||
main()
|
||||
{
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#include <stdlib.h>
|
||||
#include <cstdlib>
|
||||
|
||||
class Int
|
||||
{
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
#include <iostream>
|
||||
#include <stdlib.h>
|
||||
#include <cstdlib>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
|
||||
@ -121,14 +121,14 @@ void usage()
|
||||
std::cout
|
||||
<< "usage: addr2line [-e filename|--exe=filename]"
|
||||
" address [address...]\n" << std::endl;
|
||||
::exit(1);
|
||||
std::exit(1);
|
||||
}
|
||||
|
||||
|
||||
void version()
|
||||
{
|
||||
std::cout<< "OpenFOAM addr2line emulator\n" << std::endl;
|
||||
::exit(0);
|
||||
std::exit(0);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user