diff --git a/doc/contributing/source/general.rst b/doc/contributing/source/general.rst index 7edf1c391..3fb1bba09 100644 --- a/doc/contributing/source/general.rst +++ b/doc/contributing/source/general.rst @@ -95,7 +95,6 @@ the previous copyrights from the copyright file! See below for this case. An example placement of a copyright statement can be found in the file ``src/network/model/packet.h``:: - /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * @@ -112,7 +111,6 @@ contributor may add a copyright statement that clarifies the new portion of code that is covered by the new copyright. An example is the program ``src/lte/model/lte-ue-phy.h``:: - /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * Copyright (c) 2018 Fraunhofer ESK : RLF extensions diff --git a/doc/manual/source/working-with-cmake.rst b/doc/manual/source/working-with-cmake.rst index 99af4b5f9..e630ef9a4 100644 --- a/doc/manual/source/working-with-cmake.rst +++ b/doc/manual/source/working-with-cmake.rst @@ -423,8 +423,6 @@ We are going to use the aodv module as an example: .. sourcecode:: python3 - ## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- - def build(bld): module = bld.create_ns3_module('aodv', ['internet', 'wifi']) module.includes = '.' @@ -521,8 +519,6 @@ steps. We should have something like the following: .. sourcecode:: python3 - ## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- - def build(bld): obj = bld.create_ns3_program('aodv', ['wifi', 'internet', 'aodv', 'internet-apps']) diff --git a/doc/tutorial/source/conceptual-overview.rst b/doc/tutorial/source/conceptual-overview.rst index a4d28ad62..fb24257ab 100644 --- a/doc/tutorial/source/conceptual-overview.rst +++ b/doc/tutorial/source/conceptual-overview.rst @@ -168,30 +168,8 @@ point-to-point link between two nodes and echo a single packet between the nodes. Let's take a look at that script line by line, so go ahead and open ``first.cc`` in your favorite editor. -Boilerplate -+++++++++++ -The first line in the file is an emacs mode line. This tells emacs about the -formatting conventions (coding style) we use in our source code. - -:: - - /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ - -This is always a somewhat controversial subject, so we might as well get it -out of the way immediately. The |ns3| project, like most large -projects, has adopted a coding style to which all contributed code must -adhere. If you want to contribute your code to the project, you will -eventually have to conform to the |ns3| coding standard as described -in the file ``doc/contributing/source/coding-style.rst`` or shown on the project web page -`here -`_. - -We recommend that you, well, just get used to the look and feel of |ns3| -code and adopt this standard whenever you are working with our code. All of -the development team and contributors have done so with various amounts of -grumbling. The emacs mode line above makes it easier to get the formatting -correct if you use the emacs editor. - +Copyright ++++++++++ The |ns3| simulator is licensed using the GNU General Public License version 2. You will see the appropriate GNU legalese at the head of every file in the |ns3| distribution. Often you will see a copyright notice for diff --git a/doc/tutorial/source/tracing.rst b/doc/tutorial/source/tracing.rst index 12a20dcf1..6f979cf8c 100644 --- a/doc/tutorial/source/tracing.rst +++ b/doc/tutorial/source/tracing.rst @@ -313,7 +313,6 @@ We have provided some code to implement what is really the simplest example of tracing that can be assembled. You can find this code in the tutorial directory as ``fourth.cc``. Let's walk through it:: - /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as @@ -1390,7 +1389,6 @@ dissecting the congestion window test. Open ``examples/tutorial/fifth.cc`` in your favorite editor. You should see some familiar looking code:: - /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/wifi/test/80211b.c b/src/wifi/test/80211b.c index fd1bf2aa5..b86cc3c8a 100644 --- a/src/wifi/test/80211b.c +++ b/src/wifi/test/80211b.c @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 The Boeing Company *